This content has been marked as final.
Show 1 reply
-
1. Re: j boss 5.1 java.lang.NoClassDefFoundError: [Ljavax/servlet/DispatcherType;
asafe11 Jun 7, 2016 1:42 AM (in response to asafe11)Ok so i found that what cause the problem is the xml file and more specificaly the filter inside it:
<filter>
<display-name>SessionFilter</display-name>
<filter-name>SessionFilter</filter-name>
<filter-class>webServices.SessionFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>/rest/*</url-pattern>
</filter-mapping>
so when i delete it i got another Exception and when i deleted the jar javax.servlet.api 3 all is working well the question now is how can i add the filter to run on jboss,
just to mention the SessionFilter.jave class has compilation error when i delete this jar. any suggestions?