![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web项目问题
iteye_10899
这个作者很懒,什么都没留下…
展开
-
expected at least 1 bean which qualifies as autowire candidate for this dependen
在项目启动过程中,如果出现No qualifying bean of type [com.dao.ResourceDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency问题,意思是至少需要一个bean作为com.dao.Resour...原创 2016-10-27 09:57:32 · 1314 阅读 · 0 评论 -
Java.lang.ClassNotFoundException: org.springframework.cache.ehcache.EhCacheManag
摘要:在做spring整合ehcache配置的时候出现了下面的错误,提示如下:Java.lang.ClassNotFoundException: org.springframework.cache.ehcache.EhCacheManagerFactoryBean,经过检查发现是因为org.springframework.cache.ehcache.EhCacheManagerFactoryBe...原创 2016-10-27 11:18:45 · 1431 阅读 · 0 评论 -
SpringMVC中ACTION返回JSON数据中文乱码
@RequestMapping(value="/guider/login.json", produces = "text/html;charset=UTF-8") // 方法体上加上注解即可原创 2016-11-15 17:07:33 · 79 阅读 · 0 评论 -
spring开发中插入数据能够返回id但是数据库中没有插入的数据
在spring项目中,如果我们可以看到执行了插入语句,并且可以返回插入之后的id,但是却不能在数据库中看到插入的数据,这个时候要检查一下我们的service层,看一下service层中是否添加了@Transactional....原创 2017-02-08 16:34:48 · 819 阅读 · 0 评论