<context:component-scan base-package="com.xx"> </context:component-scan>
2.为了确保包能被扫描到,在打包时,需要对“add directory entries”进行勾选,这样路径也会被打包。
保证以上两点,SpringMVC引用第三方包,编能被扫描到。
SpringMVC 引用第三方包,以及打包的问题
原文:http://my.oschina.net/miger/blog/309126