1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/baomidou-MybatisX

 / Детали:

java.lang.NoClassDefFoundError: com/intellij/spring/model/utils/AntPathMatcher

Завершенные
Владелец
Создано  
24.11.2024

Might be related to the other NoClassDefFoundError (#I3ITN6) but I thought it was worth raising anyway.

This occurs consistently when viewing a Mybatis XML file. I can still ctrl+click on variables to move to their reference, but I can't ctrl+click on the TypeAlias'd parameter type name.

java.lang.NoClassDefFoundError: com/intellij/spring/model/utils/AntPathMatcher
	at com.baomidou.plugin.idea.mybatisx.alias.PackageAliasResolver.addPackages(PackageAliasResolver.java:63)
	at com.baomidou.plugin.idea.mybatisx.alias.PackageAliasResolver.getClassAliasDescriptions(PackageAliasResolver.java:46)
	at com.baomidou.plugin.idea.mybatisx.alias.AliasFacade.findPsiClass(AliasFacade.java:80)
	at com.baomidou.plugin.idea.mybatisx.alias.AliasClassReference.resolve(AliasClassReference.java:30)
	at com.intellij.codeInspection.xml.DeprecatedClassUsageInspection.checkReferences(DeprecatedClassUsageInspection.java:46)
	at com.intellij.codeInspection.xml.DeprecatedClassUsageInspection$1.visitXmlAttributeValue(DeprecatedClassUsageInspection.java:37)
	at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:43)
	at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:65)
	at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:56)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:320)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$4(LocalInspectionsPass.java:279)
	at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:161)
	at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:153)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$5(LocalInspectionsPass.java:277)
	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:132)
	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:121)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$6(LocalInspectionsPass.java:277)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:136)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
	at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:92)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
	at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:104)
	at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:83)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:167)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
	at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:83)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.ClassNotFoundException: com.intellij.spring.model.utils.AntPathMatcher PluginClassLoader(plugin=PluginDescriptor(name=MyBatisX, id=com.baomidou.plugin.idea.mybatisx, descriptorPath=plugin.xml, path=~\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\211.6693.111.plugins\MybatisX, version=1.4.12, package=null), packagePrefix=null, instanceId=58, state=active)
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:215)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 37 more

Some system info in case that helps:

=== About ===
Build version: IntelliJ IDEA 2021.1 Build #IC-211.6693.111 April 6, 2021
Java version: 11.0.10+9-b1341.35amd64
Operating System: Windows 10 (10.0, amd64)
JVM version: Dynamic Code Evolution 64-Bit Server VM JetBrains s.r.o.

=== System ===
Number of CPU: 8
Used memory: 467Mb 
Free memory: 313Mb 
Total memory: 781Mb 
Maximum available memory: 2034Mb

=== Displays ===
Displays: 
Display 0: 1920x1080; scale: 1.00
Display 1: 2560x1080; scale: 1.00

=== Plugins ===
Custom plugins: [GenerateCopyConstructor (1.2), SonarLint (4.14.2.28348), JProfiler (19.1), MyBatisX (1.4.12), Gherkin (211.6693.111), Cucumber for Java (211.6693.111), Concordion support (0.12.0)]
Disabled plugins:[GitHub (211.6693.111), Gradle-Java (211.6693.111), Git (211.6693.111), Space (211.6693.111), Android (10.4.1.1.211.6693.111), Gradle-Maven (211.6693.111), Plugin DevKit (211.6693.111), ChangeReminder (211.6693.111), Mercurial (211.6693.111), Subversion (211.6693.111)]

Комментарий (0)

GitLife Service Account Задача создана
GitLife Service Account изменить Статус задачи с Предстоит сделать на Завершенные
Развернуть журнал операций

Вход Перед тем как оставить комментарий

Статус
Ответственный
Контрольная точка
Pull Requests
Связанные запросы на слияние могут быть закрыты после их объединения
Ветки
Дата начала   -   Крайний срок
-
Закрепить/Открепить
Приоритет
Участники(1)
1
https://api.gitlife.ru/oschina-mirror/baomidou-MybatisX.git
git@api.gitlife.ru:oschina-mirror/baomidou-MybatisX.git
oschina-mirror
baomidou-MybatisX
baomidou-MybatisX