Login  Register

Re: Trouble executing jar Plugin - nosuchmethod error

Posted by Influenza on Mar 17, 2014; 9:21am
URL: http://imagej.273.s1.nabble.com/Trouble-executing-jar-Plugin-nosuchmethod-error-tp5006911p5006948.html

Hy Michael,

thanks for your response.

My gui.class has a correct constructor, the whole Plugin works fine in the eclipse environment. It just throws the error when I try to implement the .jar folder from the eclipse project into the ImageJs Plugins directory.

here a excerpt from the programm:

public class Mikro_EvalDesk implements PlugIn{
       
...
        public void run(String arg) {

                this.gui=new Gui();

               
               
        }

}




public class Gui extends JFrame implements ActionListener {
       
...

                public Gui() {
                        super("Evaluation Desk");
                        ...
                }
                       
...
}

All classes of the programm are in the .jar folder as .class files but it still throws me the method not found. Do you have any other ideas?

best regards