PDA

View Full Version : running jar file problem



akdasari
Jun 26th, 2007, 02:44 AM
Hi
I don't know this is correct forum.
I have a executabe jar file ,as this uses different third party jars like log4j, spring,hibernate etc., i've included them in my classpth: attribute in manifest of the jar
And also i kep all the third party jars along with my jar file.
But when i run my jar file it keeps complaining classnotfound exception for logger, if i keep only log4j.jar it complains now classnotfound spring files. The moment i keep second jar(i.e. spring.jar in this case) it again complains about logger classnotfound. how can i solve this
Can somebody help me please.

Thanks
AD

Marten Deinum
Jun 26th, 2007, 02:53 AM
Please post in the correct forum, Spring Core would be appropriate. Also please post your stacktrace and wrap that in [ code][ /code] tags.