Compiler keeps reverting back to Ajc
已回答
Using IntelliJ 10 Ultimate. I am running JDK 1.5, compiling down to 1.4.
Every once in awhile when there are compile or dependency issues, the Compiler will switch from Javac to Ajc when I do a MAKE. I don't have the exact steps but it seems really sporadic and occurs daily.
How can I fix this?
Thanks
请先登录再写评论。
Hi Gary,
This is happening on Maven project reimport.
To fix either remove AspectJ compiler from your Maven project, or disable AspectJ support plugin.
Having this same issue in 2020.
Wouldn't there be a solution to 'fixate' the compiler on 'javac'
and by that disabling the automatic behaviour of IntelliJ?
Should have been done in IntelliJ IDEA 2019 in the scope of this bug:
https://youtrack.jetbrains.com/issue/IDEA-80271
If it does not work for you, please submit an issue on YouTrack with a sample project attached (including .idea directory).
thx Konstantin Annikov
