connecting mysql from eclipse
I am using;
eclipse wtp 3.2
I added the connectorj to classpath and I can connect mysql from command line, but I can't connect from eclipse. there is only one thing to do; to add the driver to library within eclipse. I did it, I added as an external archieve file to the project but surprisingly it didn't work.
the only java code in jsp:
and the error:
would it be about a problem between eclipse and the version of mysql
Last edited by elix; 10-01-2006 at 10:29 AM.
Reason: additional info
I tried something else, I can connect from a normal java file. but I can't connect from a jsp or servlet. There is something with running on tomcat.
The problem occurs because you set a class path for another classloader.
problem solved, connectorj must be copied under tomcat/common/lib
thx for your attention
I wanna cry, problem solved so easily, but I spend my whole day
thanks God at the end it is solved..
Last Post: 05-22-2006, 11:13 AM
By gsreejit_79 in forum VB Classic
Last Post: 12-20-2005, 02:45 AM
By airrazor in forum Database
Last Post: 10-04-2005, 04:00 PM
By vradhkar in forum VB Classic
Last Post: 08-07-2005, 02:30 PM
By snowstorm in forum Java
Last Post: 05-04-2005, 01:01 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center