Quickstart 1.4-rc1 exception

2008-11-14 Thread Erik van Oosten

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]



Re: Quickstart 1.4-rc1 exception

2008-11-14 Thread Erik van Oosten
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]



Re: Quickstart 1.4-rc1 exception

2008-11-14 Thread Erik van Oosten
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]



Re: Quickstart 1.4-rc1 exception

2008-11-14 Thread James Carman
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]



Re: Quickstart 1.4-rc1 exception

2008-11-14 Thread Martijn Dashorst
I thought that starting up your wicket app got this result. If this is
a maven commandline error, you're on the wrong list :)

try nuking your local repository (I suggest renaming it). Apparently
there's something borked in your plugins.

Martijn

On Fri, Nov 14, 2008 at 4:30 PM, 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]





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



Re: Quickstart 1.4-rc1 exception

2008-11-14 Thread Erik van Oosten
It appears that my Maven repository (artifactory) is not functional 
anymore. Somehow its empty.

I'll switch to central for a moment.

Sorry for the hassle.

Regards,
   Erik.


Erik van Oosten 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]