Expand to a wider audience.
-----Original Message-----
From: Chan, Ka-Kit (BL60:FD37)
Sent: Wednesday, June 06, 2007 3:04 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [mojo-user] Help! Embedded error: The absolute uri
Hi Wayne,
Thanks for the reply. The issue here is that our pom.xml is defined
in the following way:
:
<modules>
<module>eem-ui-comps</module>
<module>eem-app</module>
</modules>
:
The eem-ui-comps will be compiled first and then generates an
eem-ui-comps.jar contains the tag and its libraries. However, Maven
will not deploy this jar file to "\eem-app\src\main\webapp\WEB-INF\lib"
during the compilation time. The jar file will be included into the war
file after executing "maven install" command.
When the JSPC kicks in to compile all JSP pages in
"\eem-app\src\main\webapp", I got "Embedded error: The absolute uri" due
to the "eem-ui-comps.jar" does not exist in its WEB-INF\lib folder.
There is a known issue about this in
http://jira.codehaus.org/browse/MJSPC-4 ("James Kebinger - [27/Dec/06
01:59 PM ]")
Do you know how to work around this problem in this case?
Thanks
KK
-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 05, 2007 6:11 PM
To: [email protected]
Subject: Re: [mojo-user] Help! Embedded error: The absolute uri
This is a general JSP compilation failure, nothing to do with Maven at
all.
I'd guess you've got an invalid @import statement or something in a JSP.
Search your project files for this http://nortel.com string and either
find and fix the import or remove it if it is in fact invalid.
Wayne
On 6/5/07, Ka-Kit Chan <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi All,
> Do you know how to debug or work around the following error message?
> I did follow the instruction at
> http://mojo.codehaus.org/jspc-maven-plugin/usage.html, but I got
> "Embedded error: The absolute uri..."
>
> Thanks in advance
> KK
> --- Error ---
> [INFO] [jspc:compile {execution: jspc}] [INFO] Built File:
> \acegi-login.jsp [INFO] Built File: \logoff.jsp [INFO] Built File:
> \manageCmd.jsp [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] JSPC Error
>
> Embedded error: The absolute uri: http://nortel.com/hawkeye cannot be
> resolved i n either web.xml or the jar files deployed with this
> application [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException:
> JSPC Error
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:564)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:480)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:459)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
> at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at
> org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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: org.apache.maven.plugin.MojoExecutionException:
> JSPC Error
> at
> org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java
> :265)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:443)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
> ... 16 more
> Caused by: org.apache.jasper.JasperException: The absolute
> uri: http://nortel.co
> m/hawkeye cannot be resolved in either web.xml or the jar files
> deployed with th is application
> at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH
> andler.java:50)
> at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.j
> ava:407)
> at
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.j
> ava:114)
> at
> org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(Tag
> LibraryInfoImpl.java:316)
> at
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoIm
> pl.java:147)
> at
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:42
> 3)
> at
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
> at
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
> at
> org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> at
> org.apache.jasper.compiler.ParserController.doParse(ParserController.
> java:211)
> at
> org.apache.jasper.compiler.ParserController.parse(ParserController.ja
> va:100)
> at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
> at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> at
> org.apache.jasper.JspC.processFile(JspC.java:986)
> at org.apache.jasper.JspC.execute(JspC.java:1135)
> at
> org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java
> :248)
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email