我在本地run Page的时候报以下错误。

oracle.jbo.JboException: JBO-29000: JBO-29000: Bad version number in .class file
?????: cux.oracle.apps.cux.po.evaluate.risk.server.xxxx???:
current-workspace-app.web.APPS_HTML:0.0.0 ???:
/D:/JDeveloper/jdevhome/jdev/myclasses/ ??: <classpath> in D:\JDeveloper\jdevhome\jdev\myhtml\OA_HTML ???: oracle.jbo.common.java2.JDK2ClassLoader
???: default.root:0.0.0 ???: /D:/JDeveloper/jdevbin/BC4J/lib/adfm.jar
??: <library> in /D:/JDeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml

 

经检查,是因为我是用1.6版本的JDK编译的class,但是运行的时候使用的JDK是1.5版本,所以报Bad version number in .class file .

 

小建议:本地编译程序的JDK尽量与应用保持一致。

相关文章:

  • 2021-05-14
  • 2021-06-02
  • 2021-10-23
  • 2021-06-07
  • 2021-09-30
  • 2021-11-19
  • 2022-12-23
猜你喜欢
  • 2021-10-04
  • 2021-05-13
相关资源
相似解决方案