velocity-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarzu...@interfree.it
Subject problem executing test-cpload
Date Wed, 18 Feb 2009 17:21:36 GMT

Hi all.
I am new in Velocity. When I try to build velocity 1.6.1, during
test-cpload I get:

test-cpload:
     [echo] Running Classpath Resource tests...
     [java] Exception in thread "main" java.lang.NoClassDefFoundError:
junit/textui/TestRunner
     [java] Caused by: java.lang.ClassNotFoundException:
junit.textui.TestRunner
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java] 	at java.security.AccessController.doPrivileged(Native
Method)
     [java] 	at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java] 	at sun.misc.Launcher
$AppClassLoader.loadClass(Launcher.java:276)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java] 	at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

BUILD FAILED
/usr/local/velocity-1.6.1/build/build.xml:1147: The following error
occurred while executing this line:
/usr/local/velocity-1.6.1/build/testcases.xml:67: Java returned: 1

My CLASSPATH is:

:/usr/local/etc/wesip/lib/servlet.jar:/usr/local/etc/wesip/lib/sipservlet.jar:/usr/local/velocity-1.6.1/lib/antlr-2.7.5.jar:/usr/local/velocity-1.6.1/lib/avalon-logkit-2.1.jar
:/usr/local/etc/wesip/lib/commons-beanutils.jar:/usr/local/etc/wesip/lib/backport-util-concurrent.jar:/usr/local/etc/wesip/lib/commons-beanutils-bean-collections.jar
:/usr/local/etc/wesip/lib/commons-beanutils-core.jar:/usr/local/velocity-1.6.1/lib/commons-collections-3.2.1.jar:/usr/local/etc/wesip/lib/commons-daemon.jar
:/usr/local/etc/wesip/lib/commons-digester.jar:/usr/local/etc/wesip/lib/commons-fileupload-1.0.jar:/usr/local/velocity-1.6.1/lib/commons-lang-2.4.jar
:/usr/local/velocity-1.6.1/lib/commons-logging-1.1.jar:/usr/local/etc/wesip/lib/commons-dbcp-1.2.1.jar:/usr/local/etc/wesip/lib/commons-logging-api.jar
:/usr/local/etc/wesip/lib/commons-modeler.jar:/usr/local/etc/wesip/lib/commons-pool-1.2.jar:/usr/local/etc/wesip/lib/jakarta-regexp-1.3.jar:/usr/local/velocity-1.6.1/lib/jdom-1.0.jar
:/usr/local/velocity-1.6.1/lib/log4j-1.2.12.jar:/usr/local/etc/wesip/lib/mail.jar:/usr/local/velocity-1.6.1/lib/maven-ant-tasks-2.0.9.jar:/usr/local/etc/wesip/lib/mx4j-jmx.jar
:/usr/local/velocity-1.6.1/lib/oro-2.0.8.jar:/usr/local/etc/wesip/lib/puretls.jar:/usr/local/etc/wesip/lib/tyrex-1.0.1.jar:/usr/local/etc/wesip/lib/JainSipApi1.1.jar
:/usr/local/etc/wesip/lib/seas-jain.jar:/usr/local/velocity-1.6.1/lib/servletapi-2.3.jar:/usr/local/etc/wesip/lib/jakarta-oro-2.0.6.jar
:/usr/local/etc/wesip/lib/jasper-compiler.jar:/usr/local/etc/wesip/lib/jasper-runtime.jar:/usr/local/velocity-1.6.1/lib/werken-xpath-0.9.4.jar
:/usr/local/etc/wesip/lib/wesip.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar:/usr/local/apache-ant-1.7.1/lib/ant.jar:/usr/local/apache-ant-1.7.1/lib/ant-junit.jar
:/usr/local/velocity-1.6.1/bin/velocity-1.6.1.jar:/usr/local/velocity-1.6.1/lib/test/junit-3.8.1.jar:/usr/local/velocity-1.6.1/lib/test/hsqldb-1.7.1.jar

What should I do?

Thanks in advance.
Marzuola Matteo


----------------------------------------------------------------------------
Vuoi essere presente online? 
Vuoi dare voce alla tua attivita`? 
Acquista un dominio su domini.interfree.it.
A partire da 18,59 euro
----------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@velocity.apache.org
For additional commands, e-mail: general-help@velocity.apache.org


Mime
View raw message