關於idea導入springboot項目,代碼報紅,啓動類報錯誤: 找不到或無法加載主類‘xxxApplication’

新入新公司,idea導入springboot項目代碼報紅,試過更改maven配置,maven clean操作還是提示: cannot resolve symbol ‘SpringBootApplication’ 。最終解決方法爲導入要導入項目的pom.xml文件,而不是導入現有項目解決。
相關文章
相關標籤/搜索