Setting property ‘source’ to ‘org.eclipse.jst.jee.server:xxxxx’ did not find a matching property

  因为昨天的一堆问题,把IDE换成了Idea,今天在调试项目的时候,报告了以下错误。

Setting property ‘source’ to ‘org.eclipse.jst.jee.server:xxxxx’ did not find a matching property

  百度得知,server.xml中加入了未识别的标签。server.xml 位于tomcat/conf内。解决的方案是删掉多余的<Context…..>的内容。出现这样的问题,一般是eclipse的tomcat配置,选择了Use_Tomcat_Installation,且未选中Publish_module_contexts_to_separate_XML_files

  总结:删除掉多余的内容。如果继续使用eclipse的话,勾选Publish_module_contexts_to_separate_XML_files

参考:http://blog.csdn.net/qq_28301007/article/details/53862179

发表评论

This site uses Akismet to reduce spam. Learn how your comment data is processed.