QuickNotepad-Plugin written in Scala - java.lang.NoClassDefFoundError: QuickNotepadActions
Submitted by Wednesday, 6 October, 2010 - 06:34
on
Hallo!
I've tried to rewrite the simple QuickNotepad plugin in scala. I'm using Netbeans 6.8 for this.
Inside the IDE everthing works really fine, but if I copy my 'QuickNotepad.jar'-file in the .jedit/jar directory and then run jEdit, I get following Error-Message:
(Note: This error occurs when I try to open my plugin => Plugins/QuickNotepad->QuickNotepad)
> java.lang.NoClassDefFoundError: QuickNotepadActions
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
> at org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:456)
> at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:109)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.gjt.sp.jedit.bsh.classpath.ClassManagerImpl.classForName(ClassManagerImpl.java:203)
> at org.gjt.sp.jedit.bsh.NameSpace.classForName(NameSpace.java:1318)
> at org.gjt.sp.jedit.bsh.NameSpace.getClassImpl(NameSpace.java:1218)
> at org.gjt.sp.jedit.bsh.NameSpace.getClass(NameSpace.java:1159)
> at org.gjt.sp.jedit.bsh.Name.consumeNextObjectField(Name.java:298)
> at org.gjt.sp.jedit.bsh.Name.toObject(Name.java:199)
> at org.gjt.sp.jedit.bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
> at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
> at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
> at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:467)
> at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:349)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(DockableWindowFactory.java:491)
> at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3255)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3237)
> at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:221)
QuickNotepadActions is just a "triat" (=Scala) [Interfac (=Java)] -> so this error message don't really make sens to me
Do you have an idea what could be wrong here?
Marco
Ps
I'm using:
jdk1.6
scala 2.8.0 final
netbeans6.8
jEdit 4.3.1
I've tried to rewrite the simple QuickNotepad plugin in scala. I'm using Netbeans 6.8 for this.
Inside the IDE everthing works really fine, but if I copy my 'QuickNotepad.jar'-file in the .jedit/jar directory and then run jEdit, I get following Error-Message:
(Note: This error occurs when I try to open my plugin => Plugins/QuickNotepad->QuickNotepad)
> java.lang.NoClassDefFoundError: QuickNotepadActions
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
> at org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:456)
> at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:109)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.gjt.sp.jedit.bsh.classpath.ClassManagerImpl.classForName(ClassManagerImpl.java:203)
> at org.gjt.sp.jedit.bsh.NameSpace.classForName(NameSpace.java:1318)
> at org.gjt.sp.jedit.bsh.NameSpace.getClassImpl(NameSpace.java:1218)
> at org.gjt.sp.jedit.bsh.NameSpace.getClass(NameSpace.java:1159)
> at org.gjt.sp.jedit.bsh.Name.consumeNextObjectField(Name.java:298)
> at org.gjt.sp.jedit.bsh.Name.toObject(Name.java:199)
> at org.gjt.sp.jedit.bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
> at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
> at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
> at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:467)
> at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:349)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(DockableWindowFactory.java:491)
> at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3255)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3237)
> at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:221)
QuickNotepadActions is just a "triat" (=Scala) [Interfac (=Java)] -> so this error message don't really make sens to me
Do you have an idea what could be wrong here?
Marco
Ps
I'm using:
jdk1.6
scala 2.8.0 final
netbeans6.8
jEdit 4.3.1