Hi Thor, In this stack trace, Velocity seems to tell you that one of your template has a syntax error.
Could you double check the openning-closing of quotes, double-quotes, parentheses, ... Regards, Raphaël 2008/1/23, Thor <[EMAIL PROTECTED]>: > Hi everyone, thanks for reading... > Here's my issue: > I've been working on a customized maven archetype for my company, > after dealing with a lot of issues with velocity i finally could pass > the velocity rendering cycle. But after that I'm getting a new error, > something about merging velocity templates, here's a part of the stack > trace: > > [ERROR] ResourceManager.getResource() parse exception: > org.apache.velocity.exception.ParseErrorException: Lexical error: > org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at > line 107, column 17. Encountered: <EOF> after : "" > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error creating from archetype > > Embedded error: Error merging velocity templates > Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: > Lexical error at line 107, column 17. Encountered: <EO > F> after : "" > [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.java:493) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav > a: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:333) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at ... > > By the way is there anyway to tell maven what version of Velocity to use.... > > I have Maven 2.08 and JDK 1.5.14 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
