警告: [SetPropertiesRule]{Context/Loader} Setting property 'useSystemClassLoaderAsParent' to 'false' did not find a matching property.

警告: [SetPropertiesRule]{Context/Loader} Setting property 'useSystemClassLoaderAsParent' to 'false' did not find a matching property.

 意思是:警告(SetPropertiesRule):装载机} / {上下文设置属性“useSystemClassLoaderAsParent”“假”没有找到匹配的属性

解决方法:

  • tomcat 6勾选"Publish module contexts to separate XML files"选项是OK的,但tomcat 7好像是不行。 我的解决办法是直接把source属性去了,然后将docBase属性指向默认的wtpwebapps目录下对应的项目,暂未发现有什么问题。 如:<Context docBase="../wtpwebapps/sss" path="/" reloadable="true" /> 希望对你有用。
  • source属性在D:软件包jee-neon omcatconfCatalinalocalhostweb.project.xml里面
  • [Web.project].xml 删除该xml文档中的source="org.eclipse.jst.jee.server:dynweb-test"即可编译通过。 如果同时还碰到错误 WARNING: [SetPropertiesRule]{Context/Loader} Setting property 'useSystemClassLoaderAsParent' to 'false' did not find a matching property. 同样删除该xml文档中的useSystemClassLoaderAsParent="false"即可编译通过。 PS:这个配置档该是eclips默认生成的,所以似乎每次重启project后,这个配置文档都会被重置,被删除的内容会又出现了。需要再次手动删除。
原文地址:https://www.cnblogs.com/x-ll123/p/7080562.html