开始只注意到
Parsing error processing resource path jndi:/localhost/JOA/WEB-INF/struts-config.xml
网上搜索无果,后来看到一段:
严重: Parse Fatal Error at line 37 column 9: The string "--" is not permitted within comments.
org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
其实错在这个注释上:
<!---------------用户信息------------------>
正确写法:
<!-- 用户信息 -->
虽然启动正常,但注释语法的错误也得注意!