代码之家  ›  专栏  ›  技术社区  ›  Amal Vijayan

错误无法访问选定的应用程序,未解析的应用程序库引用

  •  0
  • Amal Vijayan  · 技术社区  · 8 年前

    尝试在Weblogic 12.2.1 docker容器中部署ADF项目时,出现以下错误:

    Error Unable to access the selected application.
    Error org.apache.myfaces.trinidad.webapp.ResourceServlet
    Error org.apache.myfaces.trinidad.webapp.ResourceServlet
    Error org.apache.myfaces.trinidad.webapp.ResourceServlet
    

    [这是我部署项目时得到的结果][1]

    <Dec 14, 2017 7:01:58 AM GMT> <Warning> <J2EE> <BEA-160188> <Unresolved application library references, for application TrendzV3App-3.10.4-2.ear, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Extension-Name: trendzV3Images, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: false].> 
    <Dec 14, 2017 7:01:58 AM GMT> <Warning> <J2EE> <BEA-160188> <Unresolved WebApp library references defined in weblogic.xml, of module 'TrendzAppwebapp.war' [Extension-Name: adf.oracle.domain.webapp, exact-match: false].> 
    <Dec 14, 2017 7:02:00 AM GMT> <Error> <J2EE> <BEA-160228> <AppMerge failed to merge your application. If you are running AppMerge on the command-line, merge again with the -verbose option for more details. See the error message(s) below.> 
    weblogic.utils.compiler.ToolFailureException:
    org.apache.myfaces.trinidad.webapp.ResourceServlet
    at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:55)
    

    我怎样才能度过这一关?

    1 回复  |  直到 8 年前
        1
  •  1
  •   Amal Vijayan    8 年前

    我发布这篇文章只是为了确保没有一个首发球员会像我一样犯同样的错误。

    这不是我问题的实际解决方案,但我希望这将有助于确定解决方案。

    对于像我这样的初学者,首先确保您拥有相应Weblogic版本的正确docker映像。。

    我一直在尝试使用Weblogic quick installer使用docker映像构建部署ADF应用程序。

    相反,请使用Oracle Fusion中间件基础架构来获得更多基于Oracle的应用程序支持。

    weblogic启动并运行后,请确保所有库文件都存在于控制台的部署中,否则可能需要添加它们。

    如果出现如下错误:

    Unresolved application library references
    

    确保您在部署中看到的所有库都针对您将应用程序部署到的托管服务器(请参见服务器的“目标”选项卡)。

    推荐文章