2016-03-06 68 views
0

請幫我解決這個異常。我在oracle 11g表單上運行這個。 我正在使用DirectPrint.java(pjc)。檢查單擊here. 我對形式的Applet版本上運行,這是11.1.2.0NoSuchMethodError:oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet

Exception in thread "AWT-EventQueue-2" java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet; at dsd.printing.DirectPrint.parseURL(DirectPrint.java:554) at dsd.printing.DirectPrint.setProperty(DirectPrint.java:316) at oracle.forms.handler.ComponentItem.setCustomProperty(Unknown Source) at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source) at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source) at oracle.forms.handler.UICommon.onUpdate(Unknown Source) at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source) at oracle.forms.engine.Runform.processMessage(Unknown Source) at oracle.forms.engine.Runform.processSet(Unknown Source) at oracle.forms.engine.Runform.onMessageReal(Unknown Source) at oracle.forms.engine.Runform.onMessage(Unknown Source) at oracle.forms.engine.Runform.processEventEnd(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) ...

+0

你錯過了一些圖書館,所謂的 – nightfox79

+0

@ nightfox79謝謝,但我已經解決了這個問題。 – bdmsys

回答

1

我已經解決了這個問題我自己。問題是當我編譯DirectPrint.java時,我使用了10g的依賴frmall.jar。 我將frmall.jar從10g更改爲11g,然後編譯java文件並運行。它的工作。