2019.2 Can't import maven project (upgraded from 2018.3)

Answered

This worked fine in 2018.3, but right after update install of Ultimate 2019.2, I get the following in log files, and message in Intellij:
"Unable to import Maven project"

I can't view pom.xml files at all, click on them, no editor/nothing.

java.lang.NoClassDefFoundError: Could not initialize class com.intellij.javaee.model.annotations.ejb.ApplicationExceptionImpl
at com.intellij.javaee.model.annotations.ejb.EjbJamContributor.registerSemProviders(EjbJamContributor.java:40)
at com.intellij.semantic.SemServiceImpl.collectProducers(SemServiceImpl.java:110)
at com.intellij.semantic.SemServiceImpl.ensureInitialized(SemServiceImpl.java:175)
at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:151)
at com.intellij.semantic.SemService.getSemElement(SemService.java:22)
at com.intellij.util.xml.impl.DomManagerImpl.getOrCreateCachedValueProvider(DomManagerImpl.java:279)
at com.intellij.util.xml.impl.DomManagerImpl.getFileElement(DomManagerImpl.java:322)
at com.intellij.util.xml.impl.DomManagerImpl.getFileElement(DomManagerImpl.java:59)
at com.intellij.util.xml.stubs.builder.DomStubBuilder.buildStubTree(DomStubBuilder.java:74)
at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:62)
at com.intellij.psi.stubs.StubUpdatingIndex$2.lambda$computeValue$0(StubUpdatingIndex.java:130)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:932)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57)
at com.intellij.psi.stubs.StubUpdatingIndex$2.computeValue(StubUpdatingIndex.java:112)
at com.intellij.psi.stubs.StubUpdatingIndex$2.computeValue(StubUpdatingIndex.java:108)
at com.intellij.util.indexing.SingleEntryIndexer.map(SingleEntryIndexer.java:40)
at com.intellij.util.indexing.SingleEntryIndexer.map(SingleEntryIndexer.java:30)
at com.intellij.util.indexing.impl.MapReduceIndex.mapInput(MapReduceIndex.java:313)
at com.intellij.util.indexing.VfsAwareMapReduceIndex.mapInput(VfsAwareMapReduceIndex.java:108)
at com.intellij.util.indexing.impl.MapReduceIndex.calculateUpdateData(MapReduceIndex.java:269)
at com.intellij.util.indexing.impl.MapReduceIndex.update(MapReduceIndex.java:251)
at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1673)
at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$28(FileBasedIndexImpl.java:1603)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:634)
at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1562)
at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1549)
at com.intellij.util.indexing.UnindexedFilesUpdater.lambda$indexFiles$0(UnindexedFilesUpdater.java:109)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.lambda$run$0(CacheUpdateRunner.java:219)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.lambda$run$1(CacheUpdateRunner.java:235)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

0
2 comments
Avatar
Permanently deleted user

Thanks. I did try reinstall, no luck, I ended up wiping 2018, and installing, and it seems to be working fine now.

0

Please sign in to leave a comment.