java.lang.NoClassDefFoundError: …/WsrpResourceServletInterceptor

Recently I tried packaging a WSRP Interceptor in a JAR to share between applications with the same requirement, but was getting the following error:

java.lang.NoClassDefFoundError: com/bea/wsrp/consumer/resource/WsrpResourceServletInterceptor

Someone ran a JAR scan and found the WsrpResourceServletInterceptor class file located in netuix_servlet.jar.

As usual, due to project timelines we had already gone with moving the interceptor into the web application rather than fixing the NoClassDefFoundError, but if it comes up again I will try adding that to the domain classpath. Or if you run across it and try it, please post the results as a comment here.

If you found this interesting, please share.

© Scott S. Nelson

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.