views:

346

answers:

1

Hello, 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.

A: 

You need to take servlet-api JAR out of your application's lib directory. JBoss has its own copy, and yours is conflicting with it.

skaffman