首页 > 解决方案 > Eclipse 的 Spring Tool Suite 插件删除了我的 WEB-INF 文件,我收到很多错误

问题描述

我有一个网络项目。我安装了 Spring Tool Suite for Eclipse 作为一个插件来关闭 Spring Boot 应用程序,现在我遇到了很多错误。此外,我的 webapp 文件会自动删除。我什么都不懂。在 Eclipse 上安装 STS 插件之前,我的项目一直很好。

这是错误之一:

   java.io.FileNotFoundException: /home/kadir/.p2/pool/plugins/univocity-parsers-2.5.9.jar (No such file or directory)

除此之外,我的 application.properties 文件的符号更改为 Spring 符号

当我从 Maven 构建中尝试“spring-boot:run”时:

 java.net.BindException: Address already in use

然后,我通过使用终止按钮解决它,然后编译成功,但是当我尝试输入 url 时,它又给出了另一个错误:

  javax.servlet.ServletException: Circular view path [hello]: would dispatch back to the current handler URL [/hello] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)

我在 StackOverflow 中发现了一个问题。他们通过删除 .m2 存储库解决了问题。我删除了它,现在我得到了

  .p2/pool/plugins/univocity-parsers-2.5.9.jar (No such file or directory)

谁能知道这个问题?

标签: springeclipsespring-bootspring-mvcspring-tool-suite

解决方案


推荐阅读