maven导入spring报错

2022-03-27 10:38:17,564 [ 375898]  ERROR -      #org.jetbrains.idea.maven - IntelliJ IDEA 2020.1.4  Build #IU-201.8743.12 
2022-03-27 10:38:17,564 [ 375898]  ERROR -      #org.jetbrains.idea.maven - JDK: 11.0.7; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2022-03-27 10:38:17,564 [ 375898]  ERROR -      #org.jetbrains.idea.maven - OS: Windows 10 
2022-03-27 10:38:17,564 [ 375898]  ERROR -      #org.jetbrains.idea.maven - Last Action: Maven.ReimportProject 
2022-03-27 10:38:53,873 [ 412207]   WARN - vdmanager.AvdManagerConnection - No Android SDK Found 
2022-03-27 10:38:57,750 [ 416084]   INFO - rationStore.ComponentStoreImpl - Saving Project (name=shyFirstWeb, containerState=ACTIVE, componentStore=D:\DevelopmentTools\Idea\IntelliJ IDEA 2020.1.4\workspace\shyFirstWeb) RunManager took 15 ms 
2022-03-27 10:40:43,498 [ 521832]   INFO - j.ide.actions.RevealFileAction - Exit code 1 
2022-03-27 10:40:44,752 [ 523086]   INFO - rationStore.ComponentStoreImpl - Saving Project (name=shyFirstWeb, containerState=ACTIVE, componentStore=D:\DevelopmentTools\Idea\IntelliJ IDEA 2020.1.4\workspace\shyFirstWeb) RunManager took 14 ms 
2022-03-27 10:40:51,969 [ 530303]   INFO - j.ide.actions.RevealFileAction - Exit code 1 
2022-03-27 10:40:53,312 [ 531646]   INFO - j.ide.actions.RevealFileAction - Exit code 1 
2022-03-27 10:44:20,417 [ 738751]   WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: language for id: preferences.language.Kotlin.scripting 
2022-03-27 10:44:20,727 [ 739061]   INFO - ution.rmi.RemoteProcessSupport - Terminating: 51234/Maven36ServerImplad0e199a 
2022-03-27 10:44:21,606 [ 739940]   INFO - ateSettings.impl.UpdateChecker - failed to load plugin descriptions from : Malformed URL:  
2022-03-27 10:44:44,111 [ 762445]   WARN - lij.build.BuildTreeConsoleView - start event id collision found:Downloading org.springframework:spring-core::4.2.4.RELEASE, was also in node: null 
2022-03-27 10:44:44,111 [ 762445]   WARN - lij.build.BuildTreeConsoleView - start event id collision found:Downloading commons-logging:commons-logging::1.2, was also in node: null 
2022-03-27 10:44:44,111 [ 762445]   WARN - lij.build.BuildTreeConsoleView - start event id collision found:Downloading org.springframework:spring-beans::4.2.4.RELEASE, was also in node: null 
2022-03-27 10:44:44,112 [ 762446]   WARN - lij.build.BuildTreeConsoleView - start event id collision found:Downloading org.springframework:spring-context::4.2.4.RELEASE, was also in node: null 
2022-03-27 10:44:44,112 [ 762446]   WARN - lij.build.BuildTreeConsoleView - start event id collision found:Downloading org.springframework:spring-aop::4.2.4.RELEASE, was also in node: null 
2022-03-27 10:44:44,113 [ 762447]   WARN - lij.build.BuildTreeConsoleView - start event id collision found:Downloading aopalliance:aopalliance::1.0, was also in node: null 
2022-03-27 10:44:44,114 [ 762448]   WARN - lij.build.BuildTreeConsoleView - start event id collision found:Downloading org.springframework:spring-expression::4.2.4.RELEASE, was also in node: null 
2022-03-27 10:44:44,116 [ 762450]   WARN - lij.build.BuildTreeConsoleView - start event id collision found:Downloading log4j:log4j::1.2.12, was also in node: null 
2022-03-27 10:44:48,884 [ 767218]   INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 2ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:44:48,895 [ 767229]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2022-03-27 10:44:48,928 [ 767262]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 4ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:44:48,976 [ 767310]   INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 0ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:44:48,977 [ 767311]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2022-03-27 10:44:49,003 [ 767337]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update canceled 
2022-03-27 10:44:49,105 [ 767439]   INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 0ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:44:49,106 [ 767440]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2022-03-27 10:44:49,146 [ 767480]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 2ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:44:49,165 [ 767499]   INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 0ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:44:49,165 [ 767499]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2022-03-27 10:44:49,167 [ 767501]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update canceled 
2022-03-27 10:44:49,207 [ 767541]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 14ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:44:49,337 [ 767671]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 130ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:44:49,338 [ 767672]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 2721 files to update 
2022-03-27 10:44:50,108 [ 768442]   INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 770ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:47:07,666 [ 906000]   INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 0ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:47:07,666 [ 906000]   INFO - pl.ProjectRootManagerComponent - project roots have changed 
2022-03-27 10:47:07,691 [ 906025]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 0ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:47:07,780 [ 906114]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 89ms; general responsiveness: ok; EDT responsiveness: ok 
2022-03-27 10:47:52,275 [ 950609]   WARN - Container.ComponentManagerImpl - Do not use constructor injection (requestorClass=com.soldevelo.qaplug.scanner.AnalysisProjectProfileManager) 
2022-03-27 10:49:27,615 [1045949]   INFO - j.ide.actions.RevealFileAction - Exit code 1 
 

今天导入spring突然报错,看了一下日志,大概意思是idea版本和maven版本不匹配,后来我把maven改成idea默认的,问题就解决了

 

然后查了一些资料,还有一种方法就是改maven的版本,直到兼容

  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值