MyEclipse2017 下'Publishing to Tomcat 8.5。。。'has encountered a problem解决办法

MyEclipse2017 下'Publishing to Tomcat 8.5。。。'has encountered a problem

详情detail:

Tomcat version 8.5 requires Java SE 7 or later Change the JRE to one that meets

解决方法:

 tomcat版本太高了 8.0版本  这个JDK就应用1.7及以上的版本

有可能是工作空间默认的jdk版本太低了,查看点击工程右键选择properties,如下图:

如何修改,点击上方菜单window,选择preference,出现下图,选择红框内容,勾选即可


2、修改项目build path的JDK配置

项目-》build path-》JDK换成1.7的

Java Compiler-》JDK Compliance 选择1.7

Project Facets -》Java 选择1.7



阅读更多

Publishing to Tomcat 6.8 has encountered a problem

12-28

每次启动Tomcat之前发布是可以,但是当Tomcat启动后,就不能发布了.一发布就提示下面的错误.不知道大家有没有遇到类似现象并解决的,帮偶一下,谢了.rnPublishing failed with multiple errorsrn Could not delete D:\Tomcat 6.0\webapps\Server\WEB-INF\platform\configuration\org.eclipse.core.runtime\.manager\.tmp1900396474661591532.instance. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\WEB-INF\platform\configuration\org.eclipse.core.runtime\.manager\.tmp1907896664996379798.instance. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\WEB-INF\platform\configuration\org.eclipse.equinox.app\.manager\.tmp2761653564891974481.instance. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\WEB-INF\platform\configuration\org.eclipse.equinox.app\.manager\.tmp9058818377239182209.instance. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.tmp2928891393343777521.instance. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.tmp7837455207914233027.instance. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\org.eclipse.datatools.enablement.oda_2009_12_28_09_00_42.log.lck. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\org.eclipse.datatools.enablement.oda_2009_12_28_09_00_42.log. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\org.eclipse.datatools.connectivity.oda_2009_12_28_09_00_42.log.lck. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\org.eclipse.datatools.connectivity.oda_2009_12_28_09_00_42.log. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\ReportEngine_2009_12_28_09_00_49.log.lck. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\ReportEngine_2009_12_28_09_00_49.log. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\org.eclipse.datatools.enablement.oda_2009_12_28_09_00_50.log.lck. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\org.eclipse.datatools.enablement.oda_2009_12_28_09_00_50.log. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\org.eclipse.datatools.connectivity.oda_2009_12_28_09_00_50.log.lck. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\org.eclipse.datatools.connectivity.oda_2009_12_28_09_00_50.log. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\ReportEngine_2009_12_28_09_00_53.log.lck. May be locked by another process.rn Could not delete D:\Tomcat 6.0\webapps\Server\logs\ReportEngine_2009_12_28_09_00_53.log. May be locked by another process.rn

没有更多推荐了,返回首页