I'm developing using Struts 2 with the Spring plugin within Netbeans
5.5 using the embedded Tomcat as the servlet engine. If I screw up my
Spring applicationContext.xml by incorrectly specifying the path to
the class in a bean element, then when I try to deploy the project I
get the error message in the Tomcat start up logs.

SEVERE: Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.

rather than a more helpful "can't find class foo.bar.baz.class" It's
not too big a problem at the moment as I only have half a dozen beans
defined, but for larger projects a more helpful error message would be
nice. Is this actually a Struts 2 issue, a Spring issue or a product
of my development environment?

Regards
Roger

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to