Idea community source fails to build.
Hi,
Started with plugin development, configured the environment as per http://www.jetbrains.org/intellij/sdk/docs/basics/checkout_and_build_community.html.
While building the project, the build fails throwing:
Error:(158, 80) java: unreported exception E; must be caught or declared to be thrown
ClassInheritorsSearch.java
Thanks.
Please sign in to leave a comment.
I just tried it this very moment and it works. Can you try to build it from command-line using "ant"?
getPlugins.sh
/getPlugins.bat
Have you set up the SDK's correctly?
I have some "Problems" in my project settings as well, but they don't seem to matter
Looks like the problem is caused by javac bug in an old build of JDK 1.8. Please make sure that '1.8' SDK in Project Structure refers to a modern build of JDK 8 (e.g. the latest 1.8.0_151).
Thank you Patrick and Nikolay,
Updating the JDK to the latest build fixed it.