| Author |
XML Error in the .war file
|
Brandon Booysen
Greenhorn
Joined: Jun 09, 2010
Posts: 24
|
|
Hi Experts
I have a .war file that contains four.xml files. When I deploy it to my glassfish server I received this Error
Error occurred during application loading phase. The application will not run properly. Please fix your application and redeploy.
WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException: ContainerBase.addChild: start: LifecycleException: org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
We found that the Error was in one .xml file
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Hi!
The XML you presents in your question is a Spring bean configuration file.
From what I can see, the </bean> end tag is missing a "<".
As an additional suggestion, I would recommend using the Spring XML schemas instead of DTDs.
Best wishes!
|
My free books and tutorials: http://www.slideshare.net/krizsan
|
 |
 |
|
|
subject: XML Error in the .war file
|
|
|