Build error when unit testing only says 'com/intellij/javaee/model/common/JavaeeModelElement' and gives no further information.
Answered
I am using IntelliJ IDEA 2020.2 (Ultimate Edition) and when I try to run a unit test by clicking on the green arrow next to the unit test, the build view will appear with an error message that says 'com/intellij/javaee/model/common/JavaeeModelElement' in red. The error message has no other context or information and that class 'JavaeeModelElement' does not appear anywhere in my code base. Has anyone else experienced this problem or know how I can investigate this issue further?
Please sign in to leave a comment.
Here is where the error occurs in the Build Output:
Executing pre-compile tasks...
Loading Ant Configuration...
Running Ant Tasks...
Running 'before' tasks
Checking sources
Copying resources... [member]
Copying resources... [common]
Running 'after' tasks
Finished, saving caches...
Executing post-compile tasks...
com/intellij/javaee/model/common/JavaeeModelElement
Loading Ant Configuration...
Running Ant Tasks...
Synchronizing output directories...
8/19/2020 4:54 PM - Build completed with 1 error and 0 warnings in 4 s 589 ms
Does it happen only with one project? Only when running Junit tests or any time you build?
Could you please attach screenshot showing the issue, screenshot of the JUnit Run Configuration that you are trying to launch and idea.log and build.log log files after IDE restart and reproducing. Thanks.
For uploading you can use https://uploads.services.jetbrains.com or any file sharing service.
Looks like https://youtrack.jetbrains.com/issue/IDEA-249047 Please try disabling Struts 1.x and Tiles plugin.