tomcat server fails to start the server and application in STS(tomcat server 无法在 STS 中启动服务器和应用程序)
问题描述
当我运行 Spring MVC 应用程序时,出现此异常并且服务器无法启动.
When I run a Spring MVC application I get this exception and the sever fails to start.
请帮我解决这个问题.
异常堆栈跟踪:
推荐答案
jar 文件可能由于网络连接不良而损坏.尝试删除 C:Users[username].m2
epository
文件夹的内容.然后右击你的项目,选择Maven,Update Project,勾选Force Update of Snapshots/Releases.如果您确定只有一个 Jar 文件有问题,则只需删除其文件夹即可.
The jar file may be corrupt as a result of bad internet connection. Try removing the content of your C:Users[username].m2
epository
folder. Then right click your project, select Maven, Update Project, check on Force Update of Snapshots/Releases. If you are sure only one Jar file has a problem, then you only need to delete its folder.
这篇关于tomcat server 无法在 STS 中启动服务器和应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!