首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

applet在网页里报错:java.lang.NoSuchMethodError: fxbird.NCPF0202.NCPF0202Form.getDeta

2014-01-26 
报错信息如下: java.lang.NoSuchMethodError: fxbird.NCPF0202.NCPF0202Form.getDetail()Ljava/util/List

报错信息如下:
java.lang.NoSuchMethodError: fxbird.NCPF0202.NCPF0202Form.getDetail()Ljava/util/List;

at fxbird.NCPF0202.NCPF0202Applet$1.actionPerformed(NCPF0202Applet.java:655)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


655行代码如下:
gu.setData(form.getDetail(),colNames,form.getDisplayPage(),form.getDisplayCount());
fomr继承自BaseForm,但baseform里有getDetail()方法,返回个List,而且是public型的,怎么会没有这个方法呢,所有需要导入的类,全在applet的标签里写上了,保证无误。难道是jdk的问题吗


------解决方法--------------------------------------------------------
可能需要更新浏览器中的虚拟机

        

热点排行