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.

and it suggests me to download the jar file manually because maven cannot resolve the dependency. I've searched the internet but couldn't find any place that hosts this jar file. Can anyone show me how to resolve this dependency? Thank you.

I checked the dependency hierarchy in my pom file. This dependency is required by org.springframework.uaa.client:1.0.2.RELEASE which is required by org.springframework.roo.project:1.1.4.RELEASE which is required by org.springframework.roo.addon.web.mvc.controller.
1.1.4.RELEASE pom file doesn't specify the version of org.springframework.uaa.client but I guess it might just get the latest version of it because I found the latest version of org.springframework.uaa.client is 1.0.2.RELEASE in Spring's repository.

The orignal pom didn't have this org.springframework.roo.addon.web.mvc.controller dependency. Maybe this org.springframework.roo.addon.web.mvc.controller dependency is the one that causes the problem. I'll remove it and see how it goes.

I have removed org.springframework.roo.addon.web.mvc.controller and the build is smooth now. Thank you.

Maven should be able to find it as long as it can resolve the following repo (either because this repo is declared in your POM, or a parent POM, or configured in your Maven artifact repository, e.g. Nexus):