Ugh! My Eclipse is stuck in an endless loop:
The building workspace never gets past 58%.
Details:
Google's GWT provides a sample app MobileWebApp. They suggest adding it to Eclipse via File > Import > Checkout Maven projects from SCM.
I followed the instructions in this blog for adding the plugins for m2e, subclipse, and the m2e-subclipse connector.
After installing the plugins, I imported the sample project via File > Import > Checkout Maven projects from SCM and this URL.
The import seemed to complete ok and Eclipse doesn't display any markers. But now I have this endless refreshing and building and have no clue what is causing it or how to fix it.
Versions:
Any advice is greatly appreciated.
The error message indicates that Maven is unable to find the Java compiler, which comes only with a JDK and not with a JRE.
In development, when you find the eclipse workspace build process is slower and slower, and if the main reason is because of validating static files ( for example validate JS, CSS, XML file, and so on). Then you need to reduce or remove the validators in the eclipse preference validation section.
I opened my module's .project
file. There were two entries:
<buildCommand> <name>org.maven.ide.eclipse.maven2Builder</name> </buildCommand> <buildCommand> <name>org.eclipse.m2e.core.maven2Builder</name> </buildCommand>
I removed org.eclipse.m2e.core.maven2Builder
entry and it magically fixed the problem.
I was able to resolve this by right clicking on the project and selecting Run As > Maven Clean
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With