Try cleaning out your m2 repository (just rename the dir if you don't
want to lose it).  I think I saw this before when I upgraded or
something.

On Fri, Nov 14, 2008 at 10:30 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Sorry, I do not understand your suggestion. I am running in a new shell,
> there are no environment variable like CP set.
>
> The command I execute is:
> mvn archetype:create -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4-rc1
> -DgroupId=nl.grons -DartifactId=homepagebug
>
> The only classpath I see is in the mvn script:
>
> exec "$JAVACMD" \
>  $MAVEN_OPTS \
>  -classpath "${M2_HOME}"/boot/classworlds-*.jar \
>  "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
>  "-Dmaven.home=${M2_HOME}"  \
>  ${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS
>
> So how do I remove wicket-velocity from the classpath?
> Why is this related to wicket-velocity at all? Isn't this a package from
> velocity (not wicket-velocity)?
>
> Regards,
>    Erik.
>
>
> Martijn Dashorst wrote:
>>
>> org.apache.velocity.app.VelocityEngine
>>
>> ^^^^ remove wicket-velocity from your classpath
>>
>> On Fri, Nov 14, 2008 at 4:05 PM, Erik van Oosten <[EMAIL PROTECTED]>
>> wrote:
>>
>>>
>>> Tried it with several other Wicket releases 1.3.5 and 1.3.3 (Maven 2.0.9)
>>> but I get the same error.
>>>
>>> Regards,
>>>  Erik.
>>>
>>>
>>> Erik van Oosten wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> I want create a quickstart to demonstrate a potential bug in 1.4-rc1.
>>>> However if I choose that release I get the following exception.
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] org/apache/commons/lang/StringUtils
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
>>>>      at
>>>>
>>>> org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:165)
>>>>      at
>>>>
>>>> org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:594)
>>>>      at
>>>>
>>>> org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:241)
>>>>      at
>>>> org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:116)
>>>>
>>>>
>>>> Is this a known problem? I am doing something wrong?
>>>>
>>>> Maven version was 2.0.8, an upgrade to 2.0.9 did not help.
>>>>
>>>> Regards,
>>>>  Erik.
>>>>
>>>>
>>>>
>>>
>>> --
>>> Erik van Oosten
>>> http://www.day-to-day-stuff.blogspot.com/
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> --
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to