File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 10290
    
168

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error: While Deploying ear to JBoss 5.0.0 with eclipse