title: Can I register all classes of a package as controllers in spring mvc?
body: <p>I have used, in my project, "springmvc-router" to remove @RequestMapping annotation from class definition.</p>
  
  <p>Same way, is it possible to remove @Controller and @Service annotations in Class definitions?</p>
  
  <p>Further, my package com.test.controllers include all contorllers annotated with @Controller and com.test.service.impl annotated with @Service.</p>
  
  <p>Hence, can all classes under com.test.controllers be registered as controllers without @Controller?... The same follows for service annotation also.</p>