Skip to main content

Posts

Showing posts from November, 2013

Spring MVC: mvn sonar fails when mvn test passes

Stranger things have happened. But this blows many a mind. mvn test on a restful services project with spring mvc succeeds but mvn sonar:sonar fails with 404s on controllers. This happens when the controllers are marked @transactional for the restful service to be exposed as a unit of work. Don't fret. Its easy to solve this.