Cannot find class for bean with name service
Posted on 2015-11-30 13:47 hehoge 阅读(1031) 评论(0) 编辑 收藏 举报Cannot find class [com.jx.p2p.service.impl.LazyInvestServiceImpl] for bean with name 'service' defined in class path resource [applicationContext.xml];
爆出这样的错误,深入类里,没发现问题啊@!
原因:
没有在容器里注入,那就是没有绑定tomcat了,直接在buildpath 中增加 runtime server 没想到竟然好了!