apache tomcat 9.x无法与Eclipse& Java 10.0.1 [英] apache tomcat 9.x not working with eclipse & Java 10.0.1

查看:244
本文介绍了apache tomcat 9.x无法与Eclipse& Java 10.0.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows计算机上安装了apache-tomcat- 9.0.7 ,并具有以下环境配置:

I've installed apache-tomcat-9.0.7 on my windows machine and have following environment configurations:

echo%JAVA_HOME%

echo %JAVA_HOME%

C:\Program Files\Java\ jdk-10.0.1

C:\Program Files\Java\ jdk-10.0.1

echo%JRE_HOME%

echo %JRE_HOME%

C:\Program Files\Java\ jre-10.0 .1

C:\Program Files\Java\ jre-10.0.1

操作系统: Windows 8 64位

Eclipse版本: Oxygen.3a 版本(4.7.3a)

Eclipse Version: Oxygen.3a Release (4.7.3a)

每当我从 cmd 运行 catlina.bat start 时,服务器运行正常在本地主机上,但是我无法从eclipse的服务器配置中获取服务器实例。

Whenever I run catlina.bat start from cmd, server runs fine on localhost But I'm not able to get the server instance up from eclipse's server configuration.


  1. 在eclipse中定义新服务器并添加apache -tomact 9.0实例

  2. 在单击启动服务器时,出现以下错误:

  1. Defined a new server in eclipse and added apache-tomact 9.0 instance
  2. Upon clicking on start server , I get the following error:

-Djava .endorsed.dirs = C:\软件\apache-tomcat-9.0.7\endo不支持rsed 可升级模块的概念将支持模块化形式的认可标准和独立API。

-Djava.endorsed.dirs=C:\Softwares\apache-tomcat-9.0.7\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.

该问题的任何解决方案?

Any solution for this issue ?

推荐答案

您需要的不是Oxygen主站点上的更新。将 http://download.eclipse.org/webtools/repository/oxygen/ 添加为可用软件站点首选项页面中的URL,然后检查用于从帮助菜单进行更新。

You need an update that isn't on the main Oxygen site. Add http://download.eclipse.org/webtools/repository/oxygen/ as a URL in your Available Software Sites preference page and then check for updates from the Help menu.

https://bugs.eclipse.org/533162

编辑:此修复程序将在此后的Photon(WTP 3.10)版本中正确包含。月。

this fix will be properly included in the Photon (WTP 3.10) release later this month.

这篇关于apache tomcat 9.x无法与Eclipse& Java 10.0.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆