Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error: While Deploying ear to JBoss 5.0.0 with eclipse

 
Ankit Varshney
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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...
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic