IDEA springboot can recognize POM files, but suddenly it can’t reference mven dependencies. Strange things, inexplicable solutions

Foreword: today I open idea 2020.3 and find that all the spring boot projects can’t find all the dependencies. These projects were started normally yesterday

then I subconsciously thought that my Maven settings were wrong, but I checked and found that there was no problem with Maven configuration, and idea also recognized the pom.xml file. After reloading Maven dependencies several times, it still couldn’t work. Emmmmm, I think it may be caused by idea cache, right?The entire project was reloaded, but still not. Then I went to Baidu. There were not many solutions on Baidu and what I did above. I put on a mask of pain. I’m just a rookie. How can I meet this kind of thing?T.T.


Suddenly, I noticed that the red dot of idea event log was flashing, and I click to see

It said that there was something wrong with my plug-in, emmmmm. I don’t know why it suddenly went wrong, so I unloaded the plug-in, restarted the idea, and returned to normal. My God, what’s the situation?

Log content of event log

2021-07-08 09:44:26,967 [  59955]  ERROR - penapi.project.DumbServiceImpl - IntelliJ IDEA 2020.3.2  Build #IU-203.7148.57 
2021-07-08 09:44:26,967 [  59955]  ERROR - penapi.project.DumbServiceImpl - JDK: 11.0.9.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-07-08 09:44:26,967 [  59955]  ERROR - penapi.project.DumbServiceImpl - OS: Windows 10 
2021-07-08 09:44:26,968 [  59956]  ERROR - penapi.project.DumbServiceImpl - Plugin to blame: RestfulToolkit version: 2.0.9 
2021-07-08 09:44:26,968 [  59956]  ERROR - penapi.project.DumbServiceImpl - Last Action:  
2021-07-08 09:44:27,072 [  60060]  ERROR - penapi.project.DumbServiceImpl - Error executing task com.intellij.util.DisposeAwareRunnable@51a99ed3 
java.lang.NoClassDefFoundError: Could not initialize class com.zhaow.restful.common.ToolkitIcons
	at com.zhaow.restful.navigator.RestServicesNavigator.initToolWindow(RestServicesNavigator.java:118)
	at com.zhaow.restful.navigator.RestServicesNavigator.lambda$initComponent$0(RestServicesNavigator.java:105)
	at com.intellij.util.DisposeAwareRunnable.run(DisposeAwareRunnable.java:72)
	at com.intellij.openapi.project.DumbServiceImpl.doRun(DumbServiceImpl.java:399)
	at com.intellij.openapi.project.DumbServiceImpl.updateFinished(DumbServiceImpl.java:391)
	at com.intellij.openapi.project.TrackedEdtActivityService$TrackedEdtActivity.run(TrackedEdtActivityService.java:100)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:216)
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:24)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:199)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:324)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:85)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:134)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:190)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:976)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:773)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:501)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-07-08 09:44:27,072 [  60060]  ERROR - penapi.project.DumbServiceImpl - IntelliJ IDEA 2020.3.2  Build #IU-203.7148.57 
2021-07-08 09:44:27,072 [  60060]  ERROR - penapi.project.DumbServiceImpl - JDK: 11.0.9.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-07-08 09:44:27,073 [  60061]  ERROR - penapi.project.DumbServiceImpl - OS: Windows 10 
2021-07-08 09:44:27,073 [  60061]  ERROR - penapi.project.DumbServiceImpl - Plugin to blame: RestfulToolkit version: 2.0.9 
2021-07-08 09:44:27,073 [  60061]  ERROR - penapi.project.DumbServiceImpl - Last Action:  
2021-07-08 09:44:34,619 [  67607]   INFO - dea.updater.SdkComponentSource - File C:\Users\cuiliangyun\.android\repositories.cfg could not be loaded. 
2021-07-08 09:44:34,628 [  67616]   INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/addons_list-3.xml 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 7月 08, 2021 9:44:35 上午 net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor visitAll 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 警告: Exception applying rule PackageNamingRule on file D:/我的/我的项目/myproject-sso/src/main/java/com/example/sso/SsoApplication.java, continuing with next rule 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - java.lang.RuntimeException: org.jaxen.UnresolvableException: No Such Function matches 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at net.sourceforge.pmd.lang.rule.xpath.JaxenXPathRuleQuery.evaluate(JaxenXPathRuleQuery.java:73) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at net.sourceforge.pmd.lang.rule.XPathRule.evaluate(XPathRule.java:114) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at net.sourceforge.pmd.lang.java.rule.JavaRuleChainVisitor.visit(JavaRuleChainVisitor.java:42) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor.visitAll(AbstractRuleChainVisitor.java:96) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at net.sourceforge.pmd.RuleChain.apply(RuleChain.java:67) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at net.sourceforge.pmd.RuleSets.apply(RuleSets.java:140) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.alibaba.p3c.idea.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.kt:220) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.alibaba.p3c.idea.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.kt:65) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.alibaba.p3c.idea.pmd.AliPmdProcessor.processFile(AliPmdProcessor.kt:75) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.alibaba.p3c.idea.inspection.AliPmdInspectionInvoker.doInvoke(AliPmdInspectionInvoker.kt:62) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.alibaba.p3c.idea.inspection.AliPmdInspectionInvoker$Companion.invokeInspection(AliPmdInspectionInvoker.kt:125) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.alibaba.p3c.idea.inspection.AliPmdInspection.checkFile(AliPmdInspection.kt:71) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at PackageNamingRuleInspection.checkFile(DelegatePmdInspection.kt:47) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:145) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.accept(PsiJavaFileBaseImpl.java:475) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:66) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:57) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:298) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:267) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:156) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:148) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:266) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:127) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:116) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:266) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:136) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1132) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:92) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:104) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:83) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:172) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:83) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:61) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:48) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitPriorityElementsAndInit(LocalInspectionsPass.java:270) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:193) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:115) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:392) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:368) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:172) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188) 
2021-07-08 09:44:35,022 [  68010]   INFO -                         STDERR - 	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - Caused by: org.jaxen.UnresolvableException: No Such Function matches 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.SimpleFunctionContext.getFunction(SimpleFunctionContext.java:127) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.ContextSupport.getFunction(ContextSupport.java:242) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.Context.getFunction(Context.java:216) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:176) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.DefaultFunctionCallExpr.evaluateParams(DefaultFunctionCallExpr.java:195) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:179) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.DefaultPredicate.evaluate(DefaultPredicate.java:95) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.PredicateSet.applyPredicate(PredicateSet.java:269) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.PredicateSet.evaluatePredicates(PredicateSet.java:244) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.DefaultNameStep.evaluate(DefaultNameStep.java:215) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:140) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:677) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:216) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	at net.sourceforge.pmd.lang.rule.xpath.JaxenXPathRuleQuery.evaluate(JaxenXPathRuleQuery.java:69) 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR - 	... 60 more 
2021-07-08 09:44:35,023 [  68011]   INFO -                         STDERR -  

Solution: uninstall the error reporting plug-in, restart idea, and it will return to normal
I’m a rookie, and I don’t understand why this is OK?

Read More: