Failed to read candidate component错误

<context:component-scan base-package="com.spdb"/>
<mvc:annotation-driven/>

加上该标签后启动报错,最后发现是版本问题,Spring3+Jdk1.6,Spring4+Jdk1.8正常,Spring3+Jdk1.8会报该错误。

posted @ 2016-08-17 14:28  倚天剑雨  阅读(954)  评论(0编辑  收藏  举报