[jboss-dev-forums] [JBoss AS 7 Development] - Cannot obain servlet version

Amos Feng do-not-reply at jboss.com
Tue Dec 6 02:27:09 EST 2011


Amos Feng [http://community.jboss.org/people/zhfeng] created the discussion

"Cannot obain servlet version"

To view the discussion, visit: http://community.jboss.org/message/639967#639967

--------------------------------------------------------------
Hi all,

I use arquillian to run tests of web app. They work fine before, but I get the following exception when I updated to the newest jboss-as from git.
> Caused by: java.lang.IllegalStateException: Cannot obtain servlet version
>     at org.jboss.metadata.parser.servlet.WebMetaDataParser.parse(WebMetaDataParser.java:103)
>     at org.jboss.metadata.parser.servlet.WebMetaDataParser.parse(WebMetaDataParser.java:54)
>     at org.jboss.as.web.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:87)
>     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1-SNAPSHOT.jar:]
> 
our web.xml looks like:

<!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd>

<web-app>
    <display-name>XTS Service Tests Service</display-name>

    <description>XTS Service Tests Service</description>
    ...
</web-app>


any idea about this issue ?
Thanks,

Amos
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/639967#639967]

Start a new discussion in JBoss AS 7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111206/257d7754/attachment.html 


More information about the jboss-dev-forums mailing list