Problem Running Specs in Intellij 13


I used to be able to right click on my unit tests and run them.  Now I get "class not found" errors when trying to run them as Junits:

/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java -ea -Didea.launcher.port=7543 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA IDEA" com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 com.drc.transform.response.ResponseTransformSpec
Class not found: "com.drc.transform.response.ResponseTransformSpec"
Process finished with exit code 1

When running as grails tests I get
| Loading Grails 2.3.4
| Error Error executing script TestApp: tried to access method;)Ljava/util/concurrent/ConcurrentMap; from class$AnnotationChecker (Use --stacktrace to see the full trace)

I noticed that someone posted the same question on stackoverflow as well.  Is this a java 7 issue?



Please sign in to leave a comment.