0 Replies Latest reply on Nov 22, 2011 8:25 AM by Bedwyr Humphreys

    TLD parse error on EAR deployment

    Bedwyr Humphreys Newbie

      I'm getting this error on deploying an EAR file on JBoss AS 7.0.2 final:

       

      Caused by: java.lang.IllegalArgumentException: No enum const class org.jboss.metadata.web.spec.BodyContentType.None       

      at java.lang.Enum.valueOf(Unknown Source) [:1.6.0_29]        

      at or.jboss.metadata.web.spec.BodyContentType.valueOf(BodyContentType.java:30)        

      at org.jboss.metadata.parser.jsp.TagMetaDataParser.parse(TagMetaDataParser.java:117)        

      at org.jboss.metadata.parser.jsp.TldMetaDataParser.parse(TldMetaDataParser.java:226)        

      at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:124)        

      at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:105)        

      at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:81)         a

      t org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]         ... 5 more

       

      Every tld file that specifies body-content has the value scriptless, other tag descriptors do not specify the body-content. I've tried removing all .tld files from the EAR but am still getting the error. The EAR file deploys correctly on WebSphere 6.1.