首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

调试bug小结

2013-08-01 
调试bug总结一 )提示“ file”后面的文件 Caused by: org.xml.sax.SAXParseException: The content of eleme

调试bug总结
一 )提示“ file”后面的文件
Caused by: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388
)
... 44 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.063 sec <<< FAILURE!
Running com.cvt.smarthome.platform.system.resource.RoleServiceTest
[main] 2013-07-25 11:49:39,928 INFO: Loading XML bean definitions from file [F:\workspace\Admin\target\classes\applicati
onContext-Local.xml]

二)Caused by: java.lang.NoClassDefFoundError: LUpdated;
很奇怪的问题。项目中使用git stash后出来的问题。
解决方法主要是clean项目:
1)server 右键 clean;
2)项目上refresh
3)删除tomcat,从workspace和project
4)删除eclipse中项目的临时文件夹在org.eclipse.wst.server.core

热点排行