That isn't a standard class as part of Junit.. You'll need to add it as a dependency to your project.xml.
Eric > -----Original Message----- > From: Swierczek, David (MED) [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 5:24 PM > To: '[EMAIL PROTECTED]' > Subject: Could not find org.apache.testlet.engine.TextTestEngine > > > Hi users, > > I'm trying to run a junit test from maven.xml and get the following > error: > [test] [ERROR] Could not find > org.apache.testlet.engine.TextTestEngine. Make sure you have > it in your > classpath > > Now, this test runs fine from Ant (v 1.5) but when I migrated it to > Maven (v. 1.0-rc1) I started to see the error. > I searched all of the jar files and could not come up with a reference > to "TextTestEngine" anywhere. > > > My maven goal looks something like this: > <goal name="stuff:hansel-run"> > <property name="mavenClasspath" > refid="maven.dependency.classpath"/> > > <ant:junit printsummary="yes" > haltonfailure="no" fork="yes" timeout="600000"> > <formatter type="xml"/> > > <test todir="target" > > name="com.ge.medit.stuff.autohanseltests.utilHanselCoverageSuite"/> > > <classpath > > <pathelement path="${mavenClasspath}"/> > </classpath > > </ant:junit> > </goal> > > > > Have you seen this problem before -- and if so, what is the solution? > > Thanks, > > -Dave > > g GE Medical Systems > Information Technologies > ____________________________ > David Swierczek > [EMAIL PROTECTED] > Sr. Software Engineer > Clinical Systems Engineering > > General Electric Company > 8200 West Tower Avenue, Milwaukee, WI 53233 > Telephone: 414.362.2753 Fax: 414.362.2880 > Visit us on the internet: http://www.gemedical.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]
