Replies: 2 comments 2 replies
-
I have just tried the same as above - downloaded a brand new project direct from Micronaut Launch and opened it up in Intellij. I enabled annotation processing and ran the test and it all worked fine. The only difference between these two projects was that this time I selected I wonder what it is about the kotlin project that means IntelliJ isn't processing the annotations correctly ? |
Beta Was this translation helpful? Give feedback.
-
After more searching I have also found this - #1936 Which lead me to this - https://youtrack.jetbrains.com/issue/KT-15040 Sorry for the noise. I guess this is still an issue with the kotlin IntelliJ build system ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I was wondering if anyone here is building their Micronaut projects using Intellij ? I have just started playing around with Micronaut so I am sure I am missing something obvious but I don't seem to be able to get my tests to run directly from inside IntelliJ.
I thought it could be something specific to my project so to remove any doubt I have just pushed a brand new project direct from Micronaut Launch to my github account. I haven’t changed any of the mvn settings or added any micronaut features or any code of my own. I run
mvn test
and it builds and runs the generated test fine. If I run amvn clean
and enable annotation processing in the Intellij settings I can’t run the test and get the error:I followed the instructions here to enable annotation processing - https://docs.micronaut.io/latest/guide/index.html#ideSetup
If I run
man test
to compile the project and run the test, I can then successfully run the test from inside Intellij. I am using java 17 and kotlin:I am sure I am missing something obvious but I don't know what it is. Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions