I have an ear file that is generated through Maven EAR plugin. The ear file has only one module which is the ejb module. I am able to deploy it to JBoss 4.2.1-GA inside Eclipse but when I tried running it an exception is encountered during startup. I've tried searching for a solution for two days now but unsuccessful.
The exception I encountered was
org.jboss.xb.binding.JBossXBException: Failed to parse source: Premature end of file. @ *unknown*[-1,-1]
The stack trace is here: stack trace
It might be worth noting that this is an existing project that I am trying to "mavenize" and was working properly before.