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

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

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