部署.ear文件到Glassfish 3.1.2

时间:2016-09-17 06:47:30

标签: java glassfish oracle-adf jdeveloper

我使用Jdeveloper 12.1.3构建了ADF应用程序,并尝试将.ear文件部署到Glassfish 3.1.2,但在部署期间我得到如下错误消息,我的JDK版本是1.7

Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start:  org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExceptionHandlerFactory' was not configured properly.. Please see server.log for more details.

在服务器日志中:

2016-09-17T07:33:26.509+0200|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=84;_ThreadName=Thread-2;|Critical error during deployment: 
com.sun.faces.config.ConfigurationException: Factory 'javax.faces.context.ExceptionHandlerFactory' was not configured properly.
Caused by: java.lang.UnsupportedClassVersionError: oracle/adf/share/logging/ADFLogger : Unsupported major.minor version 52.0

任何帮助解决此问题 谢谢,

2 个答案:

答案 0 :(得分:0)

Caused by: java.lang.UnsupportedClassVersionError: oracle/adf/share/logging/ADFLogger : Unsupported major.minor version 52.0

尝试使用其他版本的ADFLogger。

答案 1 :(得分:0)

这都是关于你的JDK版本的。您说您的glassfish服务器使用的是JDK 1.7版。确保此版本大于52版本。