Salut à tous,

J'ai une NoSuchMethodError ce qui signifie que j'ai un prototype qui ne colle pas. Pourtant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
public class E_Fonctions extends JPanel implements ActionListener {
...
private BO_Fonctions bo;
private IHM ihm;
...
this.details = new D_Fonction(ihm, this, bo);//Ligne de l'erreur
Voilà le constructeur de l'objet que je veux instancier.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
public D_Fonction (IHM ihm, E_Fonctions parentPanel, BO_Fonctions bo);
L'erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
Exception in thread "main" java.lang.NoSuchMethodError: cerbere.ihm.details.D_Fonction.<init>(Ljavax/swing/JFrame;Lcerbere/ihm/ecrans/E_Fonctions;Lcerbere/bo/pojo/BO_Fonctions;)V
        at cerbere.ihm.ecrans.E_Fonctions.<init>(E_Fonctions.java:60)
        at cerbere.ihm.IHM.initComponents(IHM.java:95)
        at cerbere.ihm.IHM.<init>(IHM.java:43)
        at cerbere.ihm.Main.main(Main.java:19)
Java Result: 1
Quelqu'un saurait-il me dire ce qui cloche?
Merci.