我的Spring Boot程序在属性中没有JavaBuilder。

huangapple go评论75阅读模式
英文:

My spring-boot program doesn't have the JavaBuilder in the Properties

问题

我在 Spring Tool Suite 上载入了一个项目,但我发现它没有自动纠正错误。查看属性后,我发现与我在其他已载入项目中拥有的 JavaBuilder 相关的所有参数都不见了。我认为这可能是 JDK 的问题,但我不知道如何进行全部的设置,或者如何重置项目以纠正这个错误。

感谢任何能够帮助我的人!

英文:

I loaded a project on Spring-tool Suite but I realized that it does not correct the errors. Going to see Properties I realized that all the parameters related to the JavaBuilder that I have in the other loaded projects were missing. I think it's a Jdk problem, but I don't know how to set everything up or how to reset the project in order to have the error corrected.

thanks to anyone who can help me!

答案1

得分: 2

我认为您需要删除工作空间中的 .metadata 文件夹。

英文:

I think you need to delete the .metadata folder in your workspace.

答案2

得分: 0

问题出在 Spring Tool 本身,它有一个 bug,导致不显示任何错误。解决这个问题有两种方法:从 Spring Boot 中删除项目,删除工作区,然后重新加载所有内容。如果情况允许,建议重新下载 Spring Boot 工具套件。第二种情况可能是导入项目时出错,尝试将其导入到 Intellij 或另一个 IDE(集成开发环境),看看是否有相同的问题。如果遇到相同的问题,可能是加载 Java 库的问题。要解决这个问题,您应该打开另一个没有问题的项目,一旦打开,请转到 文件-> 新建-> 导入项目,然后导入您的项目。

英文:

The problem was Spring-Tool itself which had a bug where it didn't show any kind of error. There are two ways to get around the problem: delete the project from Spring-boot, delete the Workspace and reload everything. In case it is also recommended to download Spring-boot tool Suite again. In the second case it could be an error importing the project, try to import it to Intellij or another IDEE and see if you have the same problems. If you have the same problems it is a problem of loading the java libraries. To solve it you should open another project where you have no problems and once opened, go to FILE-> NEW-> IMPORT PROJECT and import your project.

huangapple
  • 本文由 发表于 2020年10月20日 02:42:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/64433355.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定