This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes WAS class not fonud in classloader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS class not fonud in classloader " Watch "WAS class not fonud in classloader " New topic
Author

WAS class not fonud in classloader

Amit kull
Ranch Hand

Joined: Jun 05, 2008
Posts: 46
Hi,
I am trying to deploy a spring application on WAS Community edition.

I am getting following error:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmsFactory' defined in ServletContext resource [/WEB-INF/servcesContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/ObjectPoolFactory

...
caused by...
Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool.ObjectPoolFactory in classloader org.apache.geronimo.configs/activemq-broker/2.1.1/car



I have the jar commons-pool-1.4.jar which contains this class in my application's classpath.
Is it necessary to have the jar in WAS CE's repository. If yes where do I need to make necessary entries of the jar like say config xmls, dependencies?

Any pointers would be helpful. Thanks.
Amit kull
Ranch Hand

Joined: Jun 05, 2008
Posts: 46
Hi,
I fixed this problem as per the help people provided here
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WAS class not fonud in classloader
 
Similar Threads
Tomcat 5.5 SEVERE: Error listenerStart
Running JBoss 5.1.0 All Server
Exception while connecting to DB2 from Hibernate with RAD 7
Sun App Server PE 9 and Hibernate
JBoss 6.1.0 - java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to jav