[GRADLE-1128] ClassNotFoundException (StringUtils) when running any JUnit test on Gentoo Linux Created: 24/Aug/10 Updated: 04/Jan/13 Resolved: 27/Jan/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.9 |
Fix Version/s: | 1.0-milestone-1 |
Type: | Bug | ||
Reporter: | Assaf Berg | Assignee: | Peter Niederwieser |
Resolution: | Cannot Reproduce | Votes: | 0 |
Description |
I've upgraded from gradle 0.8 to 0.9-rc1 and something must have changed in the way a new JVM is forked because as soon as I add a JUnit or TestNG class I get an exception. I feel this has something to do with my setup, but I'm a little stuck in debugging it and I didn't receive any response in the mailing list. The exception trace is: |
Comments |
Comment by Assaf Berg [ 27/Aug/10 ] |
I found a workaround! I added the following to the build.gradle script and the problem went away: |
Comment by Adam Murdoch [ 06/Sep/10 ] |
Are you using 32 or 64 bit Gentoo? What about the jdk? |
Comment by Assaf Berg [ 26/Sep/10 ] |
Sorry for the late response, I was on vacation. I'm using 32 bit gentoo and jdk. |
Comment by Assaf Berg [ 27/Jan/11 ] |
I'm now on 0.9.2 (gentoo 64 bit and sun-jdk 1.6.0.22) and this does not reproduce. |
Comment by Peter Niederwieser [ 27/Jan/11 ] |
Please reopen this issue (or create a new one) if you encounter this problem again. |