This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Error: While Deploying ear to JBoss 5.0.0 with eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error: While Deploying ear to JBoss 5.0.0 with eclipse" Watch "Error: While Deploying ear to JBoss 5.0.0 with eclipse" New topic
Author

Error: While Deploying ear to JBoss 5.0.0 with eclipse

Ankit Varshney
Greenhorn

Joined: Aug 01, 2008
Posts: 29

Hello Friends,

I have an ear file that is created with Jdeveloper with OC4j server.Now when I am importing that ear to eclipse with Jboss 5.0.0 .Its showing some SAXException while parsing my web.xml.I am using EJB 3.0
The sever Log is shown below..


and my web.xml is shown below




Please help me out...


Have a nice time... <br />Ankit Kumar Varshney
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10069
    
163

Caused by: org.xml.sax.SAXException: Element type "class-loader" must be declared. @ vfszip:/C:/jboss-5.0.0.CR2/server/default/deploy/NROA.ear/NROA.war/WEB-INF/jboss-web.xml[7,34]


There's something wrong with your jboss-web.xml (and not web.xml). So post its contents here.

[My Blog] [JavaRanch Journal]
 
jQuery in Action, 2nd edition
 
subject: Error: While Deploying ear to JBoss 5.0.0 with eclipse