I am using jboss 4.2.3 with metro. I deploy an EJB 3.0 web service without error but when I try to call its wsdl it throws me:
java.lang.NoClassDefFoundError: Ljavax/servlet/http/HttpServletRequest
What is happening? I have servlet-api in the lib.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to take
servlet-apiJAR out of your application’slibdirectory. JBoss has its own copy, and yours is conflicting with it.