导入Spring Boot项目至IntelliJ IDEA时遭遇ComponentLookupException错误
Spring Boot项目导入IntelliJ IDEA时出现Guice ProvisionException错误的解决方法
问题场景
从Spring Initializr下载Spring Boot项目后,在IntelliJ IDEA中选择通过pom.xml导入模块,点击应用时触发错误。
错误信息
java.lang.RuntimeException: java.lang.RuntimeException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Unable to provision, see the following errors:
解决方案
卸载当前使用的旧版IntelliJ IDEA,安装IntelliJ IDEA 2022.2.3社区版,重新导入项目时无需手动选择通过pom.xml导入模块,即可正常完成项目导入。
内容的提问来源于stack exchange,提问作者IDK
相关产品推荐
相关产品推荐

