警告: [SetContextPropertiesRule]{Context} Setting propert

J2EE 码拜 8年前 (2016-05-19) 1541次浏览
eclipse中运行web应用,tomcat运行显示警告: [SetContextPropertiesRule]{Context} Setting property “source” to “org.eclipse.jst.jee.server:a” did not find a matching property.
1、关闭server,然后在server视图中双击server,打开配置界面,选中下面的”Publish module contexts to separate XML files”,保存退出。
上面这个方法,按网上的修改方法,都不行!要怎么办啊?
本人是Apache Tomcat/7.0.54的,   jdk版本是jdk1.8.0_11
E:\tomcat\conf\Catalina\localhost下的web.xml里面代码
<?xml version=”1.0″ encoding=”UTF-8″?>
<Context docBase=”E:\tomcat\wtpwebapps\WEB” path=”/WEB” reloadable=”true” source=”org.eclipse.jst.jee.server:WEB”/>
都是后面这个 source=”org.eclipse.jst.jee.server:的问题,
部署TOMCAT时,eclipse运行web时,总是出现这样的错误代码,单独运行jsp文件和servlet可以运行!
但单独运行servlet也会有上面的错误出现,但可以运行!求指导高手!
本人搞了一天了,真不知道怎么弄了,求哥哥姐姐帮帮忙忙!感激不尽
解决方案

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明警告: [SetContextPropertiesRule]{Context} Setting propert
喜欢 (0)
[1034331897@qq.com]
分享 (0)