I am trying to learn how to create a web application and I am using xwork and webwork. Freemarker for front end. my application(MyTestApp.war) works fine if I put the .class files into the classes/ directory as it is. in this manner - classe/com/prg/hworld/HelloWorld.class but the same file, when i create a jar and put it in classes/ directory, I get this error.
Action class [com.prg.hworld.HelloWorld] not found, skipping action [hello] java.lang.ClassNotFoundException: com.prg.hworld.HelloWorld at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
I hav added the jar name in the manefest.mf but stil i am getting the same error.. pls help me her..
A jar must go inside WEB-INF/lib.