Topic
1 reply Latest Post - ‏2013-03-22T09:36:47Z by SystemAdmin
laker2000
laker2000
18 Posts
ACCEPTED ANSWER

Pinned topic WAS 8.5, RSA 8.5.1, Apache commons.lang

‏2013-03-22T02:15:34Z |
The following line of code is throwing an exception. I am using RSA 8.5.1 and WAS 8.5 on Java 7:
temp = ToStringBuilder.reflectionToString(foobar);

Here is the exception; I believe it is a class loading problem because it compiles just fine:
3/21/13 21:05:51:941 CDT 0000005c servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause RESTfulSpringDispatcher: org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org.apache.commons.lang.builder.ToStringBuilder
at org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1259)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
Updated on 2013-03-22T09:36:47Z at 2013-03-22T09:36:47Z by SystemAdmin