请帮我解决这个例外。我在oracle 11g表单上运行它。 我正在使用DirectPrint.java(pjc)。点击查看here. 我在Forms Applet上运行这个版本是11.1.2.0
线程“AWT-EventQueue-2”中的异常java.lang.NoSuchMethodError:oracle.forms.handler.IHandler.getApplet()Ljava / applet / Applet; 在dsd.printing.DirectPrint.parseURL(DirectPrint.java:554) 在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) 在oracle.ewt.lwAWT.LWComponent.processEvent(未知来源) 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 :(得分:1)
我自己解决了这个问题。问题是当我编译DirectPrint.java时,我使用了依赖frmall.jar,它是10g。 我已将frmall.jar从10g更改为11g并编译java文件并运行。它的工作。