简体   繁体   English

无法在Eclipse Oxygen中启动Tomcat服务器

[英]Can't start Tomcat server in Eclipse Oxygen

when i am trying to start tomcat server(8.5.39) in eclipse oxygen there is an error showing: 当我尝试在Eclipse氧气中启动tomcat服务器(8.5.39)时,显示错误:

Error:could not create java virtual machine. 错误:无法创建Java虚拟机。 Error:a fatal exception has occurred.program will exit." After 40-50s there is pop up message with:" 'Starting Tomcat v8.5 Server at Localhost' has encountered a problem. 错误:发生致命异常。程序将退出。“ 40-50秒后,弹出消息显示:”在本地主机上启动Tomcat v8.5服务器时遇到问题。

In Console Area there is a message: 在控制台区域中,有一条消息:

"-Djava.endorsed.dirs=D:\\Server\\apache-tomcat-8.5.39\\endorsed is not supporting.Endorsed standards and standalone APIs in modular will be supporting via the concept of upgradeable modules." “ -Djava.endorsed.dirs = D:\\ Server \\ apache-tomcat-8.5.39 \\ endorsed不支持。通过可升级模块的概念将支持模块化的认可标准和独立API。”

When I am start Tomcat server from startup.bat file in the bin folder, he started successfully without any problem. 当我从bin文件夹中的startup.bat文件启动Tomcat服务器时,他成功启动,没有任何问题。 I want to start Tomcat server from Eclipse. 我想从Eclipse启动Tomcat服务器。

You are most likley affected by Bug 507338 - Java 9 support not well integrated with Tomcat webserver (/apache-tomcat-8.5.6/endorsed is not supported) . 您最容易受到Bug 507338的影响-Java 9支持未与Tomcat Web服务器很好地集成(不支持/apache-tomcat-8.5.6/endorsed)

Eclipse Oxygen has only beta support for Java 9, if you plan to use Java 9 upgrade to newer version of Eclipse or at least update the Web Tools Platform plugin to 3.9.1aRC2a . 如果您打算使用Java 9升级到Eclipse的较新版本,或者至少将Web Tools Platform插件更新为3.9.1aRC2a ,则Eclipse Oxygen仅对Java 9提供beta支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM