zoukankan      html  css  js  c++  java
  • 启动tomcat出现[SetPropertiesRule]警告问题解决

    在eclipse里启动tomcat时出现了[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:easyui_demo’ did not find a matching property.的警告问题。

    解决方案:
    解决方法是在Servers视图里双击创建的server,然后在其server的配置界面中选中”Publish module contexts to separate XML files”选项。

    Tomcat Publishing Options介绍:

    Two new options which affect publishing are now available in the Server Options section of the Tomcat server editor. The Tomcat server must be 5.0.x or later for these options to be enabled. The Serve modules without publishing option does what it says. Web content will be served directly from the “WebContent” folder of the Dynamic Web Project. A customized context is used to make the project’s dependencies available in the Web application’s classloader. The Publish module contexts to separate XML files option will publish contexts using the preferred method of separate XML files under the “conf/Catalina/localhost” directory, rather than keeping them in the “server.xml” file. A couple of improvements for this option are noted in Bugs 180931 and 180936.

  • 相关阅读:
    python远程执行dos命令
    python调用cmd显示中文乱码及调用cmd命令
    centos密码策略
    windows密码策略
    windows注册表解析说明
    Acwing-252-树(点分治)
    Gym-10071A-Queries(树状数组)
    2019ICPC沈阳网络赛-B-Dudu's maze(缩点)
    2019ICPC沈阳网络赛-D-Fish eating fruit(树上DP, 换根, 点分治)
    平衡树
  • 原文地址:https://www.cnblogs.com/Silencewen/p/7471089.html
Copyright © 2011-2022 走看看