Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError - Java - Programmation
MarshPosté le 27-09-2011 à 09:53:13
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
Marsh Posté le 27-09-2011 à 09:53:13
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
Le detail de PutyfalView.java ligne 242
detail ligne 55
detail putyfalApp ligne 24
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.