Java:找不到符号类产品_甚至无效的缓存和重建
在Java(Spring Boot应用程序)中,我创建了一个新的分支并进行了更改。然后,我尝试调试项目并获得java:找不到许多类别的符号类产品_
。我的变化只有3-5个类,但其中大多数与我的变化无关。
在Intellij Idea中,我尝试了几个解决方法,例如使缓存和重建项目无效,重新启动Intellij,但无法解决。 我还创建了一个新的分支,并试图在应用更改之前运行它,并且正在运行。该问题与挥发性(下划线类)完全相关。
那么,我该如何解决呢?
In a Java (Spring Boot app), I created a new branch and make my changes. Then, I tried to debug the project and got java: cannot find symbol class Product_
for lots of classes. There are only 3-5 classes belonging to my changes, but most of them are irrelevant to my changes.
In IntelliJ IDEA, I tried several workarounds e.g. invalidating cache and rebuilding project, restarting IntelliJ, but cannot solve it.
I also created a new branch and tried to run it before applying my changes, and it is working. The problem is completely related to volatile (underscore classes).
So, how can I fix that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论