Hi, J.B.,
I had a similar issue when I first tried to get Maven working. In my case,
it had to do with Class Loaders and which ones are loading what. What
finally fixed it for me was to put the junit-3.8.1.jar in my
$MAVEN_HOME/bin/forehead.conf file in the root section like so:
[root]
${tools.jar}
${maven.home}/lib/commons-grant-1.0-beta-4.jar
${maven.home}/lib/ant-1.5.3-1.jar
${maven.home}/lib/endorsed/xml-apis-1.0.b2.jar
${maven.home}/lib/ant-optional-1.5.3-1.jar
${maven.home}/lib/endorsed/xerces-2.4.0.jar
${maven.home}/lib/commons-logging-1.0.3.jar
${maven.home}/lib/log4j-1.2.8.jar
/u01/home/oracle/fhrcc/lib/junit-3.8.1.jar
I'm not knowledgeable at all about root Class Loaders or Forehead, but I
found some similar issues in the Maven Users Mailing List Archive (on
http://maven.apache.org under Project Info. It's a little tedious to
search, but there is a lot of good info-- all pertinent to Maven.)
Another place I didn't take advantage of in my first few weeks was the
documentation for the plugins. (Again on the maven site under reference and
then plugins. Click on the "Maven Plugins" link under the heading "Plugins
Hosted by Maven" and you'll find tons (pounds?) of good info.)
Hope this helps,
Maury
> -----Original Message-----
> From: J. B. Rainsberger [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 07, 2004 9:02 AM
> To: Maven Users List
> Subject: NoSuchMethodError running Clover with Maven
>
> When I run the goal <test> on its own, all tests pass.
>
> When I run the goal <site:generate> and it runs <test>, I get this in
> every test:
>
> java.lang.NoSuchMethodError:
> com.cortexeb.tools.clover.S.getRecorder([CJI)Lcom/cortexeb/tools/clover/n;
>
> Google told me nothing. Help!
>
> Thanks.
> --
> J. B. Rainsberger,
> Diaspar Software Services
> http://www.diasparsoftware.com :: +1 416 791-8603
> Let's write software that people understand
>
>
> ---------------------------------------------------------------------
> 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]