Error starting plug-in

Hi,

(It is the first time I post to the forum and on plugin development. hope this is the right forum for that specific topic.)

I acquired the resin plugin source and attempt to convert it to 7.0. Everything is built but when I started the plugin (plugin debug mode) I got the error below complaining NoClassDefFound for J2EEConfigurationType. This usually means some kind of static init error.

Can someone help me figure this out? Thanks


"E:\IntelliJ IDEA 7.0M2\jre\jre\bin\java" -classic -Xms32m -Xmx192m -XX:MaxPermSize=99m -ea "-Xbootclasspath/p:E:/IntelliJ IDEA 7.0M2\lib\boot.jar" "-Didea.config.path=C:\Documents and Settings\winson\.IntelliJIdea70\system\plugins-sandbox\config" "-Didea.system.path=C:\Documents and Settings\winson\.IntelliJIdea70\system\plugins-sandbox\system" "-Didea.plugins.path=C:\Documents and Settings\winson\.IntelliJIdea70\system\plugins-sandbox\plugins" -Xdebug -Xrunjdwp:transport=dt_socket,address=127.0.0.1:1841,suspend=y,server=n -Dfile.encoding=windows-1252 -classpath "E:\IntelliJ IDEA 7.0M2\jre\lib\tools.jar;E:/IntelliJ IDEA 7.0M2\lib\idea.jar;E:/IntelliJ IDEA 7.0M2\lib\bootstrap.jar;E:/IntelliJ IDEA 7.0M2\lib\extensions.jar;E:/IntelliJ IDEA 7.0M2\lib\openapi.jar;E:/IntelliJ IDEA 7.0M2\lib\jdom.jar;E:/IntelliJ IDEA 7.0M2\lib\log4j.jar;E:\IntelliJ IDEA 7.0M2\lib\idea_rt.jar" com.intellij.idea.Main
Connected to the target VM, address: '127.0.0.1:1841', transport: 'socket'
com.intellij.diagnostic.PluginException: com/intellij/javaee/appServerIntegrations/AppServerIntegration
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:51)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:37)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:9)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:13)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:233)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:57)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NoClassDefFoundError: com/intellij/javaee/appServerIntegrations/AppServerIntegration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:116)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:112)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:88)
at com.intellij.ide.plugins.cl.PluginClassLoader._loadClass(PluginClassLoader.java:43)
at com.intellij.util.lang.UrlClassLoader.loadClass(UrlClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:44)
... 18 more
ERROR - ij.components.ComponentManager -
com.intellij.diagnostic.PluginException: com/intellij/javaee/appServerIntegrations/AppServerIntegration
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:51)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:37)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:9)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:13)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:233)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:57)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NoClassDefFoundError: com/intellij/javaee/appServerIntegrations/AppServerIntegration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:116)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:112)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:88)
at com.intellij.ide.plugins.cl.PluginClassLoader._loadClass(PluginClassLoader.java:43)
at com.intellij.util.lang.UrlClassLoader.loadClass(UrlClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:44)
... 18 more
ERROR - ij.components.ComponentManager - JDK: 1.5.0_11
ERROR - ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
ERROR - ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
ERROR - ij.components.ComponentManager - OS: Windows XP
ERROR - ij.components.ComponentManager - Original exception:
java.lang.NoClassDefFoundError: com/intellij/javaee/appServerIntegrations/AppServerIntegration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:116)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:112)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:88)
at com.intellij.ide.plugins.cl.PluginClassLoader._loadClass(PluginClassLoader.java:43)
at com.intellij.util.lang.UrlClassLoader.loadClass(UrlClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:44)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:51)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:37)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:9)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:13)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:233)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:57)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
com.intellij.diagnostic.PluginException: com/intellij/javaee/run/configuration/J2EEConfigurationType
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:51)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:37)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:9)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:13)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:233)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:57)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NoClassDefFoundError: com/intellij/javaee/run/configuration/J2EEConfigurationType
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:116)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:112)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:88)
at com.intellij.ide.plugins.cl.PluginClassLoader._loadClass(PluginClassLoader.java:43)
at com.intellij.util.lang.UrlClassLoader.loadClass(UrlClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:44)
... 18 more
ERROR - ij.components.ComponentManager -
com.intellij.diagnostic.PluginException: com/intellij/javaee/run/configuration/J2EEConfigurationType
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:63)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:51)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:37)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:9)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:13)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:233)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:57)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.NoClassDefFoundError: com/intellij/javaee/run/configuration/J2EEConfigurationType
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:116)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:112)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:88)
at com.intellij.ide.plugins.cl.PluginClassLoader._loadClass(PluginClassLoader.java:43)
at com.intellij.util.lang.UrlClassLoader.loadClass(UrlClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:44)
... 18 more
ERROR - ij.components.ComponentManager - JDK: 1.5.0_11
ERROR - ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
ERROR - ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
ERROR - ij.components.ComponentManager - OS: Windows XP
ERROR - ij.components.ComponentManager - Original exception:
java.lang.NoClassDefFoundError: com/intellij/javaee/run/configuration/J2EEConfigurationType
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:116)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:112)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:88)
at com.intellij.ide.plugins.cl.PluginClassLoader._loadClass(PluginClassLoader.java:43)
at com.intellij.util.lang.UrlClassLoader.loadClass(UrlClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:44)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:51)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:37)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:9)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:13)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:233)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:57)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

1 comment
Comment actions Permalink

Try posting in the plugin forum. They would probably be much more helpful.

0

Please sign in to leave a comment.