This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Comment

I had the same mistake.
To resolve it you need to set system variable JAVA_HOME to your current java jdk location.
This is needed by maven to run (you can check it by going to %YOUR_STS_LOCATION%/apache-maven-(version)/bin/ and executing basic operation mvn --version. If JAVA_HOME is not set you will see a mistake). Also this maven folder must be accessible through Path variable.