Add commons-configuration dependancy to your project.xml
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
<version>1.0</version>
</dependency>
Nicolas,
Angela Day <[EMAIL PROTECTED]>
12/11/2004 16:05
Veuillez r�pondre � "Apache Torque Users List"
Pour : "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc :
Objet : BaseProjectProgram failed to instantiate ProjectProgram within
JU nit
Project runs fine in production. I am trying to run junits tests but
receiving this error on every attempt by the torque Base classes to
instantiate the skeleton classes. I.e., BaseProjectProgram trying to
instantiate ProjectProgram.
java.lang.NoClassDefFoundError:
org/apache/commons/configuration/ConfigurationException
at org.apache.torque.Torque.getInstance(Torque.java:108)
at org.apache.torque.Torque.isInit(Torque.java:146)
at
tdhca.om.base.BaseProjectProgramPeer.<clinit>(BaseProjectProgramPeer.java:22
4)
at
tdhca.om.base.BaseProjectProgram.<clinit>(BaseProjectProgram.java:45)
at
tdhca.om.test.SpecialNeedsTest.setUp(SpecialNeedsTest.java:45)
at junit.framework.TestCase.runBare(TestCase.java:138)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at
junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
nner.java:395)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
java:279)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
.java:171)
Desperate. I appreciate your help.
Angela Day
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]