Tomcat无法启动org.eclipse.jst.jee.server:xxx' did not find a matching property
2015-06-29 09:16
701 查看
现象:tomcat启动后,部署在本地tomcat的应用没有启动,且应用日志在console控制台中也没有打印
控制台中输出只有部分警告,内容如下:
警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ubs' did not find a matching property.
解决方案:
(1) 双击Servers标签页中的服务器,在 【Server Options】 菜单中,勾选【Publish module contexts to separate XML files】
(2)修改工作空间应用服务目录下【.settings】目录中【org.eclipse.wst.common.project.facet.core.xml】文件
控制台中输出只有部分警告,内容如下:
警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ubs' did not find a matching property.
解决方案:
(1) 双击Servers标签页中的服务器,在 【Server Options】 菜单中,勾选【Publish module contexts to separate XML files】
(2)修改工作空间应用服务目录下【.settings】目录中【org.eclipse.wst.common.project.facet.core.xml】文件
<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <installed facet="java" version="1.7"/> <installed facet="jst.web" version="3.0"/> <installed facet="wst.jsdt.web" version="1.0"/> </faceted-project>修改为
<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <fixed facet="wst.jsdt.web"/> <fixed facet="jst.web"/> <fixed facet="java"/> <installed facet="java" version="1.7"/> <installed facet="jst.web" version="3.0"/> <installed facet="wst.jsdt.web" version="1.0"/> </faceted-project>
相关文章推荐
- tomcat部署 java.lang.OutOfMemoryError: PermGen space
- Tomcat --> Cannot create a server using the selected type
- WEB_容器_tomcat_本地运行源码_审
- Tomcat原理
- tomcat 内存溢出.
- 一键重启tomcat
- Apache2.4+Tomcat8.0集群安装
- Jetty和tomcat的比较
- IDEA、Eclipse的详细安装配置及Tomcat服务集成介绍
- MyEclipse各种好用的自定义配置(SVN, JDK, Maven, Tomcat, 自动补全, UTF-8, 字体等)
- 解决Tomcat中设置默认项目时只能访问静态页面的问题
- 12.The APR based Apache Tomcat Native library which allows optimal performance
- 10.Tomcat删除项目时,删除那些文件或文件夹?
- Tomcat配置域名和虚拟目录
- 如何通过外网访问自己的tomcat
- J2EE编辑中的中文乱码解决问题
- tomcat配置虚拟主机
- Tomcat的配置
- Apache/Tomcat/JBOSS/Nginx区别
- JavaWeb学习笔记——Tomcat相关