This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 8935
    
    9

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.ClassNotFoundException: javassist.ClassPool