zoukankan      html  css  js  c++  java
  • SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:AppName' did no

    在使用 eclipse 过程中,如果你加入了某些自定义的框架(比如 struts)后,在启动 services 后,控制台出现一片红色的字样,表明有问题。这时仔细查看 eclipse 控制台信息,发现这样一条信息:WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:AppName' did not find a matching property.

          其中的“AppName” 表示你的项目名称,如何解决呢?其实很简单,解决办法如下:

          1.首先,确保你的服务是出于关闭的状态;

          2.双击你 eclipse 下方 Servers 卡片里的服务器,比如我的是 Tomcat v6.0 Server at localhost,双击后将弹出一个关于此服务器配置信息的预览窗口;

          3.在该窗口下方有个 Server Options 卡片,请将 Publish module contexts to separate XML files 前面的复选框勾上并保存;

          4.重新启动你的服务,此时查看 eclipse 控制台信息,发现那刺眼的红色警告信息没有了,恭喜你,这说明问题解决了。

    eclipse 服务问题

  • 相关阅读:
    C++链式队列基本操作
    C++链栈基本操作
    C++顺序栈基本操作
    C++链表基本操作
    C/C++/JAVA
    C++操作链表
    How Many Maos Does the Guanxi Worth
    Heavy Transportation
    Frogger
    Til the Cows Come Home(Dijkstra)
  • 原文地址:https://www.cnblogs.com/eagleknight/p/3472759.html
Copyright © 2011-2022 走看看