tomcat配置时的警告(did not find a matching property)和 Setting property 'source' to 'org.eclipse.jst.jee.se
来源:互联网 发布:nginx 修改访问路径 编辑:程序博客网 时间:2024/05/20 21:59
用了一段时间的tomcat后,发现今天居然报警告,did not find a matching property还有Setting property 'source' to 'org.eclipse.jst.jee.se等一串,根据度娘上大神的解答,如下:
Server's Properties -> General -> Location = /Servers/Tomcat v6.0 Server at localhost.server;
Project Explorer -> Servers -> Tomcat v6.0 Server at localhost.server, double click to open it.
Server Options -> Check "Publish module contexts to separate XML files ".
Explaination :
Tomcat of previous version doesn't support the "source" attribute in the "Context" node of "server.xml" file.
Result :
A separate XML file named "demo.xml" was created in the "$server path$\conf\Catalina\localhost\".
也就是关闭tomcat,双击eclipse下tomcat服务器,在出来的Tomcat server at localhost页面中找到server options选项,选中其中的选项”Publish modual contexts to separat XML files“,ctr+s,启动tomcat,但是发现tomcat7这样做并没有效果,于是乎就找配置文件,更改配置文件,弄好就ok了,具体步骤如下:
先修改初始化配置文件即可:
[tomcat install path]\conf\Catalina\localhost\[customized project].xml
删除该xml文档中的source="org.eclipse.jst.jee.server:dynweb-test"即可编译通过。
如果同时还碰到错误
WARNING: [SetPropertiesRule]{Context/Loader} Setting property 'useSystemClassLoaderAsParent' to 'false' did not find a matching property.
同样删除该xml文档中的useSystemClassLoaderAsParent="false"即可编译通过。
PS:这个配置档该是eclips默认生成的,所以似乎每次重启project后,这个配置文档都会被重置,被删除的内容会又出现了。需要再次手动删除。
- tomcat配置时的警告(did not find a matching property)和 Setting property 'source' to 'org.eclipse.jst.jee.se
- 警告: Setting property 'source' to 'org.eclipse.jst.jee.server:ASW' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:jeecg' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:test' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server: ' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:JCMS2722' did not find a matching property.
- eclipse启动tomcat出现警告:Setting property 'source' to 'org.eclipse.jst.jee.server:工程名' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:web' did not find a matching property原因?
- 卷积神经网络
- Android(线程二) 线程池详解
- Codeforces834B The Festive Evening
- JSX语法糖
- 编写一个程序,完成字符大小写的转换。
- tomcat配置时的警告(did not find a matching property)和 Setting property 'source' to 'org.eclipse.jst.jee.se
- HTTP协议详解
- 云端流计算、在线业务、实时分析 闭环设计
- 利用js传一个对象到后台
- webpack学习系列一(https://webpack.js.org/concepts/ 翻译)
- 网站技术架构
- All for one,one for all——7月份英语总结
- 如何利用VS编译lua源码
- [bzoj1419]Red is good 期望DP