Home > Back-end >  IDEA2020.1 appeared SpringBoot project start Java package: XXX does not exist
IDEA2020.1 appeared SpringBoot project start Java package: XXX does not exist

Time:09-20

Error: (3, 38) Java: package org. Springframework. Stereotype does not exist
Error: (4, 47) Java: package org. Springframework. Web. Bind. The annotation does not exist
Error: (5, 47) Java: package org. Springframework. Web. Bind. The annotation does not exist
Error: (7, 2) Java: can't find the symbols
Symbol: class Controller
Error: (10, 6) Java: can't find the symbols
Symbol: class ResponseBody
Location: class com. Test. The controller. The HelloController
Error: (11, 6) Java: can't find the symbols
Symbol: class RequestMapping
Location: class com. Test. The controller. The HelloController

The solution below link
reference
https://blog.csdn.net/lzzdhhhh/article/details/105907772

CodePudding user response:

In the maven operation page, the clean, install; Then try to restart the project

CodePudding user response:

Maven - & gt; Runner - & gt; Delegate IDE to build/run actions to Maven hook, this version of the bug
  • Related