Results 1 to 6 of 6
- 03-29-2011, 06:56 AM #1
Member
- Join Date
- Dec 2009
- Posts
- 19
- Rep Power
- 0
not getting connected to mysql database from jax-ws webservice
Hi all,
i created a web service using JAX-WS. I am not able to connect to mysql database from the serivice. i am getting java.lang.ClassNotFoundException: com.mysql.jdbc.Driver . I included mysql connector jar in the project. I am using eclipse IDE for the development.
Regards,
Sunitha
- 03-29-2011, 08:37 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
You may have included the jar file (somehow) in the project, but it's not being included in the runtime path.
- 03-29-2011, 09:28 AM #3
Member
- Join Date
- Dec 2009
- Posts
- 19
- Rep Power
- 0
thank you so much for your reply.
Can you please tell me how to include jar file in the runtime path?
- 03-29-2011, 09:56 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
How are you running this?
Presumably it's on some Tomcat instance?
- 03-29-2011, 12:23 PM #5
Member
- Join Date
- Dec 2009
- Posts
- 19
- Rep Power
- 0
yes
i am running it on tomcat server instance
- 03-29-2011, 12:41 PM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Similar Threads
-
How to connect database mysql via Lan
By ahmed30 in forum JDBCReplies: 3Last Post: 01-17-2011, 06:36 AM -
How to convert access database to mysql database?
By vrk in forum Advanced JavaReplies: 2Last Post: 02-11-2009, 04:43 AM -
database with mysql using the netbeans 6.0
By kwesiaryee in forum New To JavaReplies: 2Last Post: 05-02-2008, 04:27 AM -
MySQL Database and Java
By shaggymac in forum Advanced JavaReplies: 1Last Post: 05-01-2008, 09:01 PM -
How to check the number of applications connected to MySQL DB
By sandeepspatil in forum JDBCReplies: 2Last Post: 08-08-2007, 10:52 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks