File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes RAD websphere giving StringUtils exception while startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "RAD websphere giving StringUtils exception while startup" Watch "RAD websphere giving StringUtils exception while startup" New topic
Author

RAD websphere giving StringUtils exception while startup

Madhuri Jethani
Greenhorn

Joined: Sep 06, 2009
Posts: 1
my RAD build is successful. No build errors. But when I start WAS server, it is generating following exceptions. I do have commons-lang-2.5.jar in lib folders. anyone has any solutions for this issue??
[10/19/12 5:07:45:588 EDT] 00000027 WebApp E Exception caught while initializing context
java.lang.NoClassDefFoundError: org.apache.commons.lang.StringUtils
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:222)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:562)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:514)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:388)
.
.
.
0/19/12 5:07:45:603 EDT] 00000027 WebApp E Exception caught while initializing context
java.lang.NoClassDefFoundError: org.springframework.core.io.ClassPathResource
at org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:137)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)
.
.
.
[10/19/12 5:07:45:619 EDT] 00000027 WebApp E Exception caught while initializing context
java.lang.NoClassDefFoundError: org.springframework.util.Assert
at org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext(WebApplicationContextUtils.java:63)
at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:93)
at com.citibank.framework.controller.web.BaseSpringListener.contextInitialized(BaseSpringListener.java:24)
at com.citibank.framework.controller.web.InternationalizationListener.contextInitialized(InternationalizationListener.java:36)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RAD websphere giving StringUtils exception while startup