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

java.lang.ClassNotFoundException: javassist.ClassPool

Anil kumar Sakala

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


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

Joined: Oct 29, 2001
Posts: 8836

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:
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