Windows 8.1升级后,Spring Tool Suite嵌入式服务器无法启动

问题描述 投票:1回答:3

发生了一件奇怪的事情,似乎它是由最新的Windows升级引发的。我从Windows 8.0升级到8.1,从那时起,Spring Tool Suite中的嵌入式tomcat服务器将无法启动。

日志/控制台输出中没有任何问题,控制台表示它正常启动,但在服务器选项卡中显示服务器仍处于“正在启动...”状态(如下所示)。

120秒后,我得到以下对话框:

Server Tomcat v7.0 Server at localhost was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor.

我尝试从命令提示符运行Tomcat服务器,它工作正常。我可以启动服务器并部署我的应用程序。

有任何想法吗?

java tomcat windows-8.1 spring-tool-suite
3个回答
1
投票

只需双击服务器,它将打开一个窗口并单击超时并给出300秒并尝试它。它肯定会开始。


0
投票

它很简单,你需要双击你的服务器。它将打开服务器编辑器窗口,您可以在其中编辑服务器的默认开始时间。作为参考,我将附上这里的屏幕截图。

enter image description here


-2
投票

也许您需要更改文件权限。例如,如果服务器存储在C:\ SpringToolSuite \ sts-bundle \ pivotal-tc-server-developer-3.1.1.RELEASE中,(对于Windows 7)双击C:\ SpringToolSuite \ <Properties <Security。然后将权限更改为“Total Control”。

© www.soinside.com 2019 - 2024. All rights reserved.