Wednesday, July 12, 2017

Re: [google-cloud-sql-discuss] Not able to connect to Cloud SQL using Java SocketFactory Library

This error indicates that the library is not in your classpath. This usually indicates a problem with the way your application is packaged/deployed.
Make sure that when you run your application, all of its dependencies are present in the classpath.

On Wed, Jul 12, 2017 at 5:59 AM Tushar kesarwani <tushar.kesarwani2@gmail.com> wrote:
Hi, 

I am not able to connect to Cloud SQL using SocketFactory. I have followed the github and did everything as explained. 

The error i am getting says - 
ClassNotFoundException: com.google.cloud.sql.mysql.SocketFactory SocketFactory.class

I have posted my code and question over here - 

I would be glad if anyone can help me on this :( 

Thanks in advance 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/c7be224d-45e3-46dc-8ccb-6a2fdff3ef91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/CABDU3p3ikDD029RUtZz7UJpUSksVKydUj3t4D%2Bn4KfHJjRDL5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment