From: frankster <jsy...@te...> - 2011-09-10 22:49:35
|
On 10/09/2011 14:25, Joe Emenaker wrote: > So, I finally got rid of all of the compile-time errors from my > refactored code... and now I'm getting this error at the end of the compile: > >> java.lang.NoSuchMethodError: >> org.codehaus.groovy.control.CompilationUnit.<init>(Lorg/codehaus/groovy/control/CompilerConfiguration;Ljava/security/CodeSource;Lgroovy/lang/GroovyClassLoader;)V >> at >> org.jetbrains.groovy.compiler.rt.GroovycRunner$4.<init>(GroovycRunner.java:375) >> at >> org.jetbrains.groovy.compiler.rt.GroovycRunner.createCompilationUnit(GroovycRunner.java:375) >> at >> org.jetbrains.groovy.compiler.rt.GroovycRunner.main(GroovycRunner.java:123) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:75) > I tried compiling trunk and I also get this error. I even tried the > latest copy of the groovy JAR and I get this. > > I'm using Jetbrains IDEA as my IDE. > > Any thoughts? > > - Joe > > I get a different set of errors if I try and compile the uirefactor branch! I assume that you have already fixed these in your copy but not submitted them to SVN, so I won't bother trying to fix them myself ;) javac -g -classpath .:asm.jar:groovy.jar core/AbstractLibraryFrame.java core/AbstractLibraryFrame.java:60: cannot find symbol symbol : method getNewJSLFrame(java.lang.String,boolean) location: class org.jsynthlib.desktop.JSLDesktop menuFrame = PatchEdit.getDesktop().getNewJSLFrame(title, true); ^ ./org/jsynthlib/desktop/sdi/SDIJFrame.java:145: incomparable types: org.jsynthlib.desktop.JSLFrame and org.jsynthlib.desktop.sdi.SDIJFrame return (desktop.getSelectedJSLFrame() == this); ^ ./core/PatchEdit.java:115: inconvertible types found : org.jsynthlib.desktop.JSLFrame required: javax.swing.JFrame if(frame instanceof JFrame) { ^ ./core/PatchEdit.java:116: inconvertible types found : org.jsynthlib.desktop.JSLFrame required: javax.swing.JFrame return (JFrame) frame; ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors make: *** [core/AbstractLibraryFrame.class] Error 1 frankie |