Jar is not loading during run time
Hi I have a peculiar problem
During stand-alone , i have no problem faced with my jar.
When created web-apps for the same. I have a problem(jar not loaded) during run-time.
No compile time error. Build was successful using ant.
I could see following exception in my console
jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
I have tried with the following scenarios
1. Placed the jar file in Libraries as External jars.
2. Placed the jar file in Web Apps Libraries.
In both ways the issue is the same.
3. Set the jar as CLASSPATH and checked , still the same issue has comeup.
Following is the expection in run-time logs
Please , suggest me a solution.
Re: Jar is not loading during run time
Hey , i got the solution.
After building the war , removed the jar in the web/lib and placed it in tomcat libs. Now it started working.