[ 
http://jira.codehaus.org/browse/MOJO-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233651#action_233651
 ] 

Jon Osborn commented on MOJO-1555:
----------------------------------

pls post your weblogic.xml. the error message states ' Unresolved WebApp 
library references defined in weblogic.xml'

Jon


> Unresolved WebApp library references defined in weblogic.xml
> ------------------------------------------------------------
>
>                 Key: MOJO-1555
>                 URL: http://jira.codehaus.org/browse/MOJO-1555
>             Project: Mojo
>          Issue Type: Bug
>          Components: weblogic
>         Environment: Weblogic10.3
> Maven2.2.1
>            Reporter: Monica Dube
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to