gpt4 book ai didi

java - NoSuchMethodError : oracle. forms.handler.IHandler.getApplet()Ljava/applet/Applet

转载 作者:行者123 更新时间:2023-12-01 10:17:12 25 4
gpt4 key购买 nike

请帮我解决这个异常。我在 oracle 11g 表单上运行它。我正在使用 DirectPrint.java (pjc)。检查点击here.我在 Forms Applet 版本是 11.1.2.0 上运行此程序

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) ...

最佳答案

我自己已经解决了这个问题。问题是当我编译 DirectPrint.java 时,我使用了 10g 的依赖项 frmall.jar。我已将 frmall.jar 从 10g 更改为 11g 并编译 java 文件并运行。它正在工作。

关于java - NoSuchMethodError : oracle. forms.handler.IHandler.getApplet()Ljava/applet/Applet,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35824814/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com