If you run "mvn -U", do you get a new version of the plugin. In the
archetype.xml, we exclude filtering for menu.jsp, so it's strange that
this error is happening. Also, even when parse errors happen, they're
usually warnings, not errors. Is your system classpath clean, or do
you have certain JARs in there?

Matt

On 6/20/07, smithla <[EMAIL PROTECTED]> wrote:

 I noticed a few things. First, when I try to run an archetype, it fails and
suggests I download the jar and directly install it in my repository. Easy
enough. Then I rerun the command and get the Parser Exception I sent before.
I'm starting to think that because I'm deep inside my workplace, I'm not
getting all the jar files in the repository (although most of them
downloaded, just not the ones from static.appfuse.org). At any rate, I tried
it on my laptop, which has a wireless connection and is "outside" the
building from a security point of view and it worked fine. But I still need
it to work on my desktop, cause that's where all the tools are. I've never
had to set proxy settings on anything before, but I'll check with the
network guys.

In the meantime, I turned on the -e switch and this is the stack trace:
Thanks again.
 Lance

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error creating from
archetype
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.ja
va:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExec
utor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java
:224)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DelegatingMethodAccessorImpl.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: Error creating
from archetype
        at
org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:157)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
Caused by: org.apache.maven.archetype.ArchetypeTemplateProcessingException:
Error processing templates.
        at
org.apache.maven.archetype.DefaultArchetype.createArchetype(DefaultArchetype.java:372)
        at
org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArchetypeMojo.java:144)
        ... 18 more
Caused by: org.apache.velocity.exception.ParseErrorException: Encountered "
pageContext.request.remoteUser}\"><l
i> \"<c:url \" class=\"current\"><fmt:message key=\"login.title\"/>

</li></c:if>
\r\n    <menu:displayMenu name=\"MainMenu\"/>\r\n    <menu:displayMenu
name=\"UserMenu\"/>\r\n    <menu:displayM
enu name=\"AdminMenu\"/>\r\n    <menu:displayMenu
name=\"Logout\"/>\r\n</ul>\r\n</menu:useMenuDisplayer>" at lin
e 6, column 24.
Was expecting one of:
    "}" ...
    <DOT> ...


That's pretty strange - it doesn't happen for me.

I tried the same command and it worked for me - I uploaded the
resulting project to
http://static.appfuse.org/downloads/jsfbasictest1.tar.gz.

Matt


--
View this message in context: 
http://www.nabble.com/Parser-Exception-tf3953213s2369.html#a11222128
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to