You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by monica <js...@yahoo.com> on 2010/08/27 14:16:02 UTC

Unresolved WebApp library references defined in weblogic.xml using maven

 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.

-- 
View this message in context: http://maven-users.828.n2.nabble.com/Unresolved-WebApp-library-references-defined-in-weblogic-xml-using-maven-tp5469231p5469231.html
Sent from the maven users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org