This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836
    
    7

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
 
Similar Threads
Deploy Struts2 blank application on JBoss 5
Error in Struts2 application
web.xml problem in struts2
unable to run sample application in Struts2
Struts2 FilterDispatcher Error