spring - 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)
谁能知道这个问题?
解决方案
推荐阅读
- javascript - 函数改变全局变量
- javascript - 复制 SVG 的树
- sapui5 - UI5 Routed View 与预期的绑定元素,但无法正确找到路径
- sql - SQL 按数据范围内的日期组分组
- python-3.x - 处理列表中的冗余
- javascript - reCaptcha v3 处理分数回调
- html - 如何创建像 youtube 这样的专业控件?
- google-apps-script - 尝试使用 Google 表格脚本将表格图表插入电子邮件草稿中
- typescript - nestjs 拦截和修改传出的 http 请求
- java - 具有通配符泛型的列表集作为方法中的参数