File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes java.lang.ClassNotFoundException: javassist.ClassPool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "java.lang.ClassNotFoundException: javassist.ClassPool" Watch "java.lang.ClassNotFoundException: javassist.ClassPool" New topic
Author

java.lang.ClassNotFoundException: javassist.ClassPool

Anil kumar Sakala
Greenhorn

Joined: Oct 02, 2009
Posts: 29
1) Downloaded struts2-2.2.1-all
2) Using import from eclipse IDE I imported struts2-blank-2.2.1.war
3) Deployed in weblogic and started weblogic.

I got the following error during start up
java.lang.ClassNotFoundException: javassist.ClassPool

These are the libs included in WEB-INF/lib folder

commons-fileupload-1.2.1.jar
commons-io-1.3.2.jar
freemarker-2.3.16.jar
javassist-3.7.ga.jar
ognl-3.0.jar
struts2-core-2.2.1.jar
xwork-core-2.2.1.jar

I am struggling with this error from 2 days.
Please help.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8907
    
    8

I did a quick search of Struts 2.2.1 source and couldn't find any reference to a class named ClassPool.
If you just want to resolve the dependency, the class appears to originate here, but you should probably figure out where that dependency is coming from.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
 
subject: java.lang.ClassNotFoundException: javassist.ClassPool