我有以下用于开发和实施ADF应用程序的版本
Jdeveloper Studio Edition Version 11.1.2.4.0
Weblogic 10.3.6.0
ADF Run Time 11.1.1.9.0
下面是我的Weblogic.xml设置
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.1/weblogic-web-app.xsd" xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
<context-root>FlashDB</context-root>
<library-ref>
<library-name>adf.oracle.domain.webapp</library-name>
</library-ref>
<library-ref>
<library-name>jstl</library-name>
<specification-version>1.2</specification-version>
</library-ref>
<library-ref>
<library-name>jsf</library-name>
<specification-version>2.0</specification-version>
<implementation-version>1.2</implementation-version>
<exact-match>false</exact-match>
</library-ref>
</weblogic-web-app>
当我从Jdeveloper部署ADF应用程序时,我在Weblogic控制台上出现以下错误
<Dec 19, 2017 8:22:13 PM PKT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for applicati
on 'FlashDB_Project1_FlashDB'.>
<Dec 19, 2017 8:22:13 PM PKT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Failed to load webapp: 'FlashDB'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Truncated. see log file for complete stacktrace
Caused By: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@54465674[app:F
lashDB_Project1_FlashDB module:FlashDB path:/FlashDB spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specificati
on-Version: 2, exact-match: false]
at weblogic.servlet.internal.WebAppServletContext.processWebAppLibraries(WebAppServletContext.java:2750)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:416)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:494)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
Truncated. see log file for complete stacktrace
任何可以帮助解决这里的错误
答案 0 :(得分:0)
您正在将错误的ADF运行时版本与您开发的版本混合在一起。 您的JDeveloper版本应该与您的ADF Runtime版本匹配 - 在您的情况下,两者都应该是11.1.2.4。 11.1.2.4也很老 - 更好地升级到12c