首页 > Web开发 > 详细

eclipse使用tomcat打开maven项目时,报警告 警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:wechatManage' did not find a matching property.

时间:2019-03-17 21:19:29      阅读:186      评论:0      收藏:0      [点我收藏+]

我是Tomcat7.0,网上的一些做法根本实现不了!而且一个copy一个,真的烦。

我的解决方法:

将server.xml文件中的

<Context docBase="wechatManage" path="/wechatManage" reloadable="false" source="org.eclipse.jst.jee.server:wechatManage"/>

改成

<Context docBase="../wtpwebapps/wechatManage" path="/wechatManage" reloadable="true"/>

就好了。

文件的位置在左侧项目目录中的Servers的具体tomcat中(也就是你添加的tomcat)。

虽然这个方法也是在网上找的,但是找了2个小时才找,不知道是我的版本不符合大多数的人,所以解决方法不好用,还是好东西真的很难找,,,

eclipse使用tomcat打开maven项目时,报警告 警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:wechatManage' did not find a matching property.

原文:https://www.cnblogs.com/QiFengGrowing/p/10548863.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!