解决使用 LCDS ES2 Data/Services 时出现 Bad version number in .class le 问题
解决方法:
在你建立了一个 J2EE lcds 项目时,路径会默认到 LCDS 目录下,所以使用默认
LCDS 目录时需要注意,在 LCDS 下面有 tomcat 目录,这就是问题的关键,Bad
version number in .class le 问题,指 class 的版本不一样,就是指 tomcat 运行时
使用的 jre 版本和你现在用的版本不一样的原因,因为你是开发的 WEB 程序,
所以你的开发使用的 JRE 版本和运行的 JRE 版本必须一样,如果是运行的 WEB
程序,你这时就要注意了,你使用支持 WEB 服务器,这里说到的是 TOMCAT 是
否运行的 JRE 和你的开发时用的如:Eclipse 中设置的 JRE 一样。
所以很清楚了,你要知道 LCDS 中运行的 JRE 使用的是什么版本,那就到 LCDS
目 录 中 去 找 , 我 在 LiveCycle Data Services ES Installation (
http://help.adobe.com/en_US/livecycle/es/lcds_installation.html ) ,
中知道安装目录下有一个,/jrun4 目录:
LiveCycle Data Services with integrated JRun
The LiveCycle Data Services with integrated JRun option installs the following files and directories
under the installation root:
readme.htm Contains an overview of important information.
flex.war Flex web application, used as a starting point for new applications.
samples.war LiveCycle Data Services sample applications.
flex-admin.war Flex Administrator application.
license.txt license information.
/jrun4
Contains a custom installation of JRun 4 u6, including flex, samples, and flex-admin web applications
expanded and deployed in the default server.
/resources
Contains Flex SDK source code, fully commented configuration files, as well as directories and files
used for security, clustering, Hibernate, Flex-Ajax Bridge, WSRP, and manually creating HTML
wrappers. Flash Player installers are in the Flex SDK ZIP file.
评论0