IDEA springboot找不到啓動類DemoApplication報錯Not a valid Spring Boot application class解決辦法

IDEA springboot找不到啓動類DemoApplication 報錯Not a valid Spring Boot application class解決辦法 兩步走: 1.選擇 File -> Project Structure->Modules->Dependencies 找到 tomcat-embed-core 的jar包,做用域若是是provided ,把它改成 compile便
相關文章
相關標籤/搜索