Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
752 views
in Technique[技术] by (71.8m points)

apache tomcat 9.x not working with eclipse & Java 10.0.1

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

echo %JAVA_HOME%

C:Program FilesJava jdk-10.0.1


echo %JRE_HOME%

C:Program FilesJava jre-10.0.1


OS : Windows 8 64-bit


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


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. 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:Softwaresapache-tomcat-9.0.7endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.

Error Screen

Any solution for this issue ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...