NoClassDefFoundError with GContracts 1.2.9
Reported by Evgeny Goldin | October 9th, 2012 @ 10:39 AM
Try cloning this project,
update "gcontractsVersion"
to '1.2.9'
and
run "./gradlew clean test"
(some binary archives will
be downloaded first, please ignore it or comment out
"dependsOn downloadTestArchives"
on line 125 in the
"build.gradle"
).
I have the following errors thrown:
:compileTestJava UP-TO-DATE
:compileTestGroovy
:processTestResources
:testClasses
:test
com.github.goldin.gcommons.specs.FileBeanSpec > initializationError FAILED
org.gcontracts.PreconditionViolation
com.github.goldin.gcommons.specs.GeneralBeanSpec > initializationError FAILED
java.lang.NoClassDefFoundError
com.github.goldin.gcommons.tests.AlgorithmsTest > maxRange FAILED
java.lang.NoClassDefFoundError at AlgorithmsTest.groovy:-1
com.github.goldin.gcommons.tests.AlgorithmsTest > selectionSort FAILED
java.lang.NoClassDefFoundError at AlgorithmsTest.groovy:-1
com.github.goldin.gcommons.tests.AlgorithmsTest > insertionSort FAILED
java.lang.NoClassDefFoundError at AlgorithmsTest.groovy:-1
com.github.goldin.gcommons.tests.AlgorithmsTest > quickSort FAILED
java.lang.NoClassDefFoundError at AlgorithmsTest.groovy:-1
Comments and changes to this ticket
-
me (at andresteingress) October 15th, 2012 @ 10:24 AM
- State changed from new to resolved
(from [c3fa561d0fc2dd28f49b755e76e153cbbfe7e2ec]) fixed #38: ContractClosureWriter should generate final classes https://github.com/andresteingress/gcontracts/commit/c3fa561d0fc2dd...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
core module