You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2011/06/22 12:11:10 UTC
[jira] [Closed] (BUILDR-381) JUnit tests on Groovy project fail
with NoClassDefFoundError: junit/framework/TestCase
[ https://issues.apache.org/jira/browse/BUILDR-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Donald closed BUILDR-381.
-------------------------------
> JUnit tests on Groovy project fail with NoClassDefFoundError: junit/framework/TestCase
> --------------------------------------------------------------------------------------
>
> Key: BUILDR-381
> URL: https://issues.apache.org/jira/browse/BUILDR-381
> Project: Buildr
> Issue Type: Bug
> Components: Test frameworks
> Affects Versions: 1.3.5
> Environment: Buildr 1.3.5 (JRuby 1.4.0)
> Reporter: peter schröder
> Assignee: Alex Boisvert
> Priority: Minor
> Fix For: 1.4
>
> Attachments: BUILDR-381.txt, groovy.zip
>
>
> unit tests can not be compiled:
> ERROR -- : Error instantiating 'groovyc' task: java.lang.NoClassDefFoundError: junit/framework/TestCase
> Buildr aborted!
> java.lang.NoClassDefFoundError: junit/framework/TestCase
> WORKAROUND:
> put this at the top of the buildfile:
> Java.classpath << "junit:junit:jar:4.4"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira