java.lang.NoClassDefFoundError

org/antlr/v4/gui/TreeViewer

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19136

  • via GitHub by mkhofmann
    , 9 months ago
    org/antlr/v4/gui/TreeViewer
  • org/antlr/v4/runtime/CharStream
  • org/antlr/v4/runtime/Parser
  • Stack trace

    • java.lang.NoClassDefFoundError: org/antlr/v4/gui/TreeViewer at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.lang.ClassLoader.defineClass(ClassLoader.java:642) at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:268) at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:264) at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:233) at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:119) at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:73) at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:62) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.antlr.intellij.plugin.ANTLRv4PluginController.createToolWindows(ANTLRv4PluginController.java:130) at org.antlr.intellij.plugin.ANTLRv4PluginController.projectOpened(ANTLRv4PluginController.java:122) at com.intellij.openapi.project.impl.ProjectImpl.projectOpened(ProjectImpl.java:383) at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:68) at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:418) at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:91) at com.intellij.openapi.project.impl.ProjectManagerImpl.fireProjectOpened(ProjectManagerImpl.java:655) at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$null$3(ProjectManagerImpl.java:329) at com.intellij.openapi.application.TransactionGuardImpl$3.run(TransactionGuardImpl.java:168) at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:40) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:113) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:326) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:793) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:629) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:455) at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1665) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1607) at com.intellij.openapi.progress.util.ProgressDialog.show(ProgressDialog.java:317) at com.intellij.openapi.progress.util.ProgressWindow.showDialog(ProgressWindow.java:235) at com.intellij.openapi.progress.util.ProgressWindow$2.lambda$actionPerformed$0(ProgressWindow.java:180) at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:326) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:793) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:629) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:880) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:207) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:194) at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:562) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:396) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:76) at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:312) at com.intellij.openapi.progress.ProgressManager.run(ProgressManager.java:192) at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:402) at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:187) at com.intellij.ide.RecentProjectsManagerImpl.doOpenProject(RecentProjectsManagerImpl.java:60) at com.intellij.ide.RecentProjectsManagerBase.doReopenLastProject(RecentProjectsManagerBase.java:605) at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:639) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:117) at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:377) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:364) at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:343) at com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:42) at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:226) at com.sun.proxy.$Proxy41.appStarting(Unknown Source) at com.intellij.idea.IdeaApplication$IdeStarter.lambda$main$1(IdeaApplication.java:343) at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:40) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:113) at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:123) at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:109) at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:341) at com.intellij.idea.IdeaApplication.lambda$run$0(IdeaApplication.java:196) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:196) at com.intellij.idea.MainImpl$1.lambda$null$0(MainImpl.java:47) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:358) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.ClassNotFoundException: org.antlr.v4.gui.TreeViewer PluginClassLoader[org.antlr.intellij.plugin, 1.8.1] at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:64) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 115 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 8 months ago
    9 times, 3 months ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    12 more bugmates