db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ThereUGo <there...@hotpop.com>
Subject Re: Class Not Found: JDBC driver com.mysql.jdbc.Driver could not be loaded
Date Mon, 08 Nov 2004 00:01:29 GMT
Hi,

While adding depencency should fix the problem, before I was doing so, I 
used to add the jar files in $JAVA_HOME/lib/endorsed . That used to have 
positive effect on resolving class files, But not on resources. Since It 
got messy there , I started using the dependency.

 Try deleteing the existing class files from ~/.maven and then re run. 
If you have correct dependency then maven will down the required files.

Regards,
Krishna

Klaus Haertel wrote:

>I have the same problem. I tried adding it as a dependency in
>project.xml but it didnt work for me. I also manually copied the
>driver into the maven repository with no effect.
>
>Klaus 
>
>On Mon, 08 Nov 2004 10:31:27 +1100, Scott Eade
><seade@backstagetech.com.au> wrote:
>  
>
>>Try adding it as a dependency in your project.xml file.
>>
>>Scott
>>
>>--
>>Scott Eade
>>Backstage Technologies Pty. Ltd.
>>http://www.backstagetech.com.au
>>
>>
>>
>>
>>Reed Kelly wrote:
>>
>>    
>>
>>>I have put my mysql-connector-java-3.1.2-alpha-bin.jar in the \torque\lib
>>>directory, but I still get this error.
>>>
>>>When I enter:
>>>
>>>maven torque
>>>
>>>I get no errors, but when I enter:
>>>
>>>maven torque:create-db
>>>
>>>I get the
>>>
>>>BUILD FAILED
>>>File...... ........plugin.jelly
>>>Element... sql
>>>Line...... 394
>>>Column.... 44
>>>Class Not Found: JDBC driver com.mysql.jdbc.Driver could not be loaded
>>>Total time....
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>>For additional commands, e-mail: torque-user-help@db.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-user-help@db.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message