Oracle EBS Java Applet报错:找不到类

时间:2022-12-19 05:42:58

Oracle EBS Home Page可以打开,但是无法打开EBS的Form,查看Java控制台,有错误报出。

java控制台报错,如下:

Java Plug-in 1.6.0_07 使用 JRE 版本 1.6.0_07 Java HotSpot(TM) Client VM 用户主目录 = C:\Documents and Settings\Administrator
---------------------------------------------------- c:   清除控制台窗口 f:   终结在结束队列上的对象 g:   垃圾收集 h:   显示此帮助消息 l:   转储类载入程序列表 m:   打印内存使用 o:   触发日志记录 p:   重新载入代理配置 q:   隐藏控制台 r:   重新载入策略配置 s:   转储系统和部署属性 t:   转储线程列表 v:   转储线程堆栈 x:   清除类载入程序高速缓存 0-5: 设置跟踪级别为<n> ----------------------------------------------------
载入:找不到类 oracle/apps/fnd/formsClient/FormsLauncher.class。 java.lang.ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class   at sun.applet.AppletClassLoader.findClass(Unknown Source)   at java.lang.ClassLoader.loadClass(Unknown Source)   at sun.applet.AppletClassLoader.loadClass(Unknown Source)   at java.lang.ClassLoader.loadClass(Unknown Source)   at sun.applet.AppletClassLoader.loadCode(Unknown Source)   at sun.applet.AppletPanel.createApplet(Unknown Source)   at sun.plugin.AppletViewer.createApplet(Unknown Source)   at sun.applet.AppletPanel.runLoader(Unknown Source)   at sun.applet.AppletPanel.run(Unknown Source)   at java.lang.Thread.run(Unknown Source)
问题原因
问题的原因是因为在hosts文件中,EBS的URL对应了两个IP,一个是原来旧的IP地址,一个是新的IP地址。从hosts中删除旧的IP后,问题解决。
当然不是所有的找不到类 oracle/apps/fnd/formsClient/FormsLauncher.class错误都是因为hosts问题引起的。如果遇到这个错误,也可以尝试看看下边几个Notes是不是可以解决你的问题。
FormsLauncher.class Not Found Error When Attempting to Access Forms in Applications [ID 291698.1] Load: Class Oracle/Apps/Fnd/Formsclient/Formslauncher.Class Not Found. [ID 373736.1] Formslauncher.Class Not Found When Failing Over Using DNS Round Robin Load Balancing [ID 604040.1] Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite 11i [ID 290807.1] Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1] Can't Launch Forms in E-Business when accessed via VPN: Formslauncher Notinited [ID 471120.1]