jdaugherty opened a new issue, #207:
URL: https://github.com/apache/grails-intellij-plugin/issues/207

   First I tried to compile my project with this new compiler and unfortunately 
I get various errors (always the same) but in different classes. These classes 
also all seem to be Spock spec. So, to give it another go I created an empty 
grails 2.5 project and added a test class. The result was the same. Below is 
that I found on the Intellij logs:
   
   2015-07-06 13:35:18,677 [13475148]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: General error during canonicalization: 
java.lang.NoClassDefFoundError: junit/framework/TestCase
   2015-07-06 13:35:18,677 [13475148]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: java.lang.RuntimeException: 
java.lang.NoClassDefFoundError: junit/framework/TestCase
   2015-07-06 13:35:18,677 [13475148]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at 
org.codehaus.groovy.control.CompilationUnit.convertUncaughtExceptionToCompilationError(CompilationUnit.java:1257)
   
   Followed by:
   
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: Caused by: java.lang.NoClassDefFoundError: Could not 
initialize class 
org.codehaus.groovy.grails.compiler.injection.test.MockTransformation
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at 
java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at java.lang.Class.newInstance(Class.java:383)
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at 
org.codehaus.groovy.transform.ASTTransformationVisitor.visitClass(ASTTransformationVisitor.java:99)
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at 
org.codehaus.groovy.transform.ASTTransformationVisitor$2.call(ASTTransformationVisitor.java:227)
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: at 
org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1221)
   2015-07-06 13:35:18,678 [13475149]   INFO - j.compiler.server.BuildManager - 
BUILDER_PROCESS [stderr]: ... 32 more
   
   If I just switch the the normal javac compiler, then all is fine and no 
error appears.
   
   I am using Intellij 14.1.3
   
   ---
   
   *Imported from 
[IDEA-142447](https://youtrack.jetbrains.com/issue/IDEA-142447) · Type: Bug · 
Votes: 1*
   *Comments, attachments, dates and reporter are not part of the export — 
follow the link above for the full history.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to