Hi folks,
I've been using Eclipse for a while and have had a working
Maven integration for about the same time. Up until recently all of my work had been using JDK 1.7. Whenever I ran Maven Builds on my Eclipse projects they ran fine.
I've now had JDK 1.8.0_77 installed (I work for a company who restrict installation rights and as a consequence I'm not free to just install new JDK versions whenever or wherever I want). I've added this new JDK as the Workspace Default in Eclipse. I've confirmed that this is the JDK that I've installed and not the JRE.
The problem I have now is that whenever I run a Maven Build (clean install in my case) on any project that uses JDK 1.8.0_77 as the JRE System Library I receive the following error.
I've researched this and most of the solutions seem to say that deleting the local .m2 repository and rebuilding or updating the project will resolve the issue but I've tried this with no success. For some reason my instance of Eclipse seems to think that my installation of JDK1.8.0_77 is in fact a JRE.
To ensure that it's not a problem with my embedded Maven instance I switched the project's platform dependency back to JDK1.7.X and it installed fine.
Any suggestions on what I can do here?