摘要: 首先导入所需要的jar包。。。进行web.xml的配置 sshanno contextConfigLocation classpath:applicationContext.xml org.springframework.web... 阅读全文
posted @ 2014-11-07 20:27 我要拿8k 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 在手写hbm.xml的时候,测试报could not parse mapping document from input stream无效的映射文件。。。。不是什么大问题,是我的hbm.xml里面多了个标签,没删干净一定要仔细,真是浪费时间 阅读全文
posted @ 2014-11-07 00:11 我要拿8k 阅读(979) 评论(0) 推荐(0) 编辑
摘要: 转载请注明出处 阅读全文
posted @ 2014-11-06 17:46 我要拿8k 阅读(791) 评论(1) 推荐(1) 编辑
摘要: 搭建ssh时报java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException又缺jar包。。。唉加上aspectjweaver-1.7.4.jar就可以了 阅读全文
posted @ 2014-11-06 16:46 我要拿8k 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 搭建ssh框架出现nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor很明显是缺少jar包,加入aopalliance-1.0.jar就能解决。。。百度下载 阅读全文
posted @ 2014-11-06 16:42 我要拿8k 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 搭建ssh框架,在配置完applicationContext.xml测试时报daoImpl的no matching editors or conversion strategy found。。。上网搜了一下,在里加上proxy-target-class="true" 。。意思是代理目标类设为true... 阅读全文
posted @ 2014-11-06 16:35 我要拿8k 阅读(925) 评论(0) 推荐(0) 编辑