Login  Register

NoSuchMethodError

Posted by Lei, Dong Fang on Oct 14, 2005; 9:42pm
URL: http://imagej.273.s1.nabble.com/NoSuchMethodError-tp3704672.html

Hi all

 

I build ImageJ with Ant, and the same time it generates an ij.jar file.
This jar file is an executable file, double clicking to open ImageJ and
running command Image\adjust\size. Everything is OK.

 

But if open ImageJ with this command (jview /cp ij.jar;swing.jar;plugins
ij.ImageJMain %1.) and running command Image\adjust\size, I get some
error.

 

java.lang.NoSuchMethodError: java/awt/Rectangle: method getX()D not
found

 at ij/mine/plugin/MyResizer.run

 at ij/IJ.runFilterPlugIn

 at ij/IJ.runPlugIn

 at ij/Executer.runPlugIn

 at ij/Executer.runCommand

 at ij/Executer.run

 at java/lang/Thread.run

 

What is that problem?

 

Thank you very much.

 

dongfang