页面state 500
Message: Servlet.init() for servlet [springDispatcherServlet] threw exception
exception:javax.servlet.ServletException: Servlet.init() for servlet [springDispatcherServlet] threw exception
错误原因:在controller层引入service层的时候用的是实现类DeptServiceImpl,导致的错误
修改:使用接口DeptService来引入并使用@Autowired自动装配,报这个错,多半是service层引入出了问题,如果不能解决,也可以检查下controller层的@Controller是否加了,service层的@Service是否加了。