[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not f

简介: 启动tomcat后, 警告:: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.

启动tomcat后,

警告:: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching property.
十二月 14, 2012 8:02:51 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL

 

这是因为我们在eclipse下,通过tomcat部署web工程时,tomcat的配置文件server.xml中会自动生成一个关于该web工程的配置信息,类似于下面的东西:

Xml代码
view plaincopy to clipboardprint?
<Context docBase="webPoject" path="/webProject" reloadable="true" source="org.eclipse.jst.jee.server:webProject"/>  
<Context docBase="webPoject" path="/webProject" reloadable="true" source="org.eclipse.jst.jee.server:webProject"/>  
而默认情况下,server.xml的 Context元素不支持名称为source的属性,所以会发出警告。

解决办法是:关闭tomcat,双击eclipse下tomcat服务器,在出来的Tomcat server at localhost页面中找到server (服务器)选项,勾选其中的选项”Publish modual contexts to separat XML files“,ctr+s,启动tomcat

目录
相关文章
|
开发工具 Android开发 git
|
XML Java 应用服务中间件
eclipse关于xml文件有两种方式显示 Design方式-图形化方式,Source-源码方式
eclipse关于xml文件有两种方式显示 Design方式-图形化方式,Source-源码方式
1129 0
eclipse关于xml文件有两种方式显示 Design方式-图形化方式,Source-源码方式
Tomcat_异常_01_Setting property 'source' to 'org.eclipse.jst.jee.server:AWeiXin_QiYe_Demo' did not find a matching property
关于解决方法: 1.解决Setting property 'source' to 'org.eclipse.jst.jee.server的问题   2.eclipse中server location为灰色,不能修改
1185 0
|
Java Android开发
Eclipse_debug异常_Source not found
一.现象 在eclipse中,打了断点之后运行代码,出现debug异常:Source not found,如下图 原因 找不到源码。 解决方案  添加源码即可                 1.Edit Source Lookup Path->remove掉Default           2.Add->Java Project ->选择下图4个工程,ok。
931 0
|
Java Android开发
Eclipse: Error (Bytecode Outline) SOURCE FILE [in PROJECT] is not on its project's build path
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/45920469 JAR creation failed.
903 0
|
Web App开发 应用服务中间件
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching
启动tomcat后, 警告:: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.
1254 0
|
Web App开发 应用服务中间件
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server:webProject&#39; did not f
启动tomcat后, 警告:: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.
923 0
|
Web App开发 应用服务中间件
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property &#39;source&#39; to &#39;org.eclipse.jst.jee.server:webProject&#39; did not f
启动tomcat后, 警告:: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.
766 0
|
Java 应用服务中间件 数据格式
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:TestTomcat
 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.
2057 0