昨天调了一天的项目bug,具体表现为Exception creating bean of class ****Form: {1},找李姐和志申帮忙,尝试各种办法始终不得其门而入,遂弃之。
今晨遇到bug:
ERROR: 2017-
08-
31 08:
57:
34,
484: ActionServlet[line:
768]: Parsing error processing resource path /WEB-INF/struts-config/struts-*****
.xml
org.xml.sax.SAXParseException: Element type
"forward" must be followed by either attribute specifications,
">" or "/>".
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser
.java:
1231)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
.parse(SAXParserImpl
.java:
522)
at weblogic
.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader
.java:
133)
at weblogic
.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader
.java:
173)
经查为
<forward contextRelative="true" name="lemis_TreeElement"path="/js/lemis_TreeElement.js" />
path前少了一个空格导致,我真的是醉了。