zoukankan      html  css  js  c++  java
  • 警告: [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后,这个配置文档都会被重置,被删除的内容会又出现了。需要再次手动删除。
  • 相关阅读:
    黑马java课程2222
    屏幕亮度软件和一些自己必用的软件设置
    ahk保存
    天天洗一次澡还真是好方法
    自动化测试 就这两张图
    python __init__.py用途
    bash检查文件格式
    cygwin中运行命令提示command not found的解决方法
    Python批量插入SQL Server数据库
    怎样去掉FireFox的导入向导
  • 原文地址:https://www.cnblogs.com/x-ll123/p/7080562.html
Copyright © 2011-2022 走看看