Bonjour,
Au build de mon programme, j'obtiens lerreur suivante :
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: putyfal.PutyfalView$4.<init>(Lputyfal/PutyfalViewV
at putyfal.PutyfalView.initComponents(PutyfalView.java:242)
at putyfal.PutyfalView.<init>(PutyfalView.java:55)
at putyfal.PutyfalApp.startup(PutyfalApp.java:24)
at org.jdesktop.application.Application$1.run(Application.java:171)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
les trois premieres méthodes sont des méthodes crées par moi même.
Voici le detail de PutyfalView$4
Code :
- package putyfal;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- // Referenced classes of package putyfal:
- // PutyfalView
- class PutyfalView$4
- implements ActionListener
- {
- public void actionPerformed(ActionEvent evt)
- {
- this.this$0.jComboBox1ActionPerformed(evt);
- //PutyfalView.access$800(PutyfalView.this, evt);
- }
- final PutyfalView this$0;
- PutyfalView$4()
- {
- super();
- this$0 = this.this$0;
-
- }
- }
|
Le detail de PutyfalView.java ligne 242
Code :
- jComboBox1.setEnabled(false);
- jComboBox1.setName("jComboBox1" );
- jComboBox1.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent evt)
- {
- jComboBox1ActionPerformed(evt);
- }
|
detail ligne 55
Code :
- super.getFrame().setIconImage(im);
- initComponents();
- InitEnvirRefs();
|
detail putyfalApp ligne 24
Code :
- protected void startup()
- {
- show(new PutyfalView(this));
- }
|
Sur le net, ils parlent d'un mismatch des fichiers .class qui feraient qu'ils ne contiendraient pas les methodes cités plus haut.
Connaissez vous ce probleme ?
Merci,
Arthur HO.