Mojo's Maven plugin for WebLogic
  1. Mojo's Maven plugin for WebLogic
  2. MWEBLOGIC-20

Unresolved WebApp library references defined in weblogic.xml

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Weblogic10.3
      Maven2.2.1
    • Number of attachments :
      0

      Description

      I am using 10.3 version of weblogic. I am trying to precompile jsps inside WAR file using weblogic.appc command through Maven2.2.1 script. I get the following error.
      I am using weblogic-maven-plugin.

      weblogic.utils.compiler.ToolFailureException: Unresolved WebApp library references defined in weblogic.xml, of module 'e
      mphsys-5.2.war' [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false]
      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:310)
      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:261)
      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:164)
      at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:165)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:55
      6)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
      a:387)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: weblogic.utils.compiler.ToolFailureException: Unresolved WebApp library references defined in weblogic.xml, o
      f module 'emphsys-5.2.war' [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false]
      at weblogic.application.compiler.WARModule.initWebAppLibraryManager(WARModule.java:353)
      at weblogic.application.compiler.WARModule.processLibraries(WARModule.java:366)
      at weblogic.application.compiler.WARModule.compile(WARModule.java:234)
      at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:16)
      at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:32)
      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
      at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
      at weblogic.application.compiler.Appc.runBody(Appc.java:181)
      at weblogic.utils.compiler.Tool.run(Tool.java:158)
      at weblogic.utils.compiler.Tool.run(Tool.java:115)
      at weblogic.application.compiler.Appc.main(Appc.java:192)
      at weblogic.appc.main(appc.java:14)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:301)
      ... 22 more

      Any help or advice, I am stuck at this point.

        Activity

        Benjamin Bentmann made changes -
        Field Original Value New Value
        Project Maven 2 & 3 [ 10500 ] Mojo [ 11062 ]
        Key MNG-4783 MOJO-1555
        Affects Version/s 2.2.x (to be reviewed) [ 13141 ]
        Benjamin Bentmann made changes -
        Component/s weblogic [ 12133 ]
        Robert Scholte made changes -
        Project Mojo [ 11062 ] Mojo WebLogic Plugin [ 12021 ]
        Key MOJO-1555 MWEBLOGIC-20
        Workflow Maven New [ 140002 ] jira [ 147728 ]
        Component/s weblogic [ 12133 ]
        Complexity Intermediate
        Jon Osborn made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]
        Monica Dube made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Monica Dube
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: