最近在实验maven结构的maven工程时,碰到一个问题,springbean总是初始化失败: Related cause:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean wi...
分类:
编程语言 时间:
2014-07-07 12:45:29
阅读次数:
854
jdbc.properties#hibernate settings hibernate.show_sql=truehibernate.format_sql=truehibernate.cache.use_query_cache=truehibernate.cache.provider_class=...
分类:
编程语言 时间:
2014-07-07 12:43:02
阅读次数:
184
一、概述: 本文介绍且记录如何解决在SpringMVC 中遇到415 Unsupported Media Type 的问题,并且顺便介绍Spring MVC的HTTP请求信息转换器HttpMessageConverter。二、问题描述: 在SprinvMVC的Web程序中,我在页面发送Ajax .....
分类:
编程语言 时间:
2014-07-07 12:37:45
阅读次数:
265
service接口package com.fangjian.core.platform.service;import com.fangjian.core.platform.po.User;public interface UserService { void saveUser(User use...
分类:
编程语言 时间:
2014-07-07 11:57:38
阅读次数:
209
json_test login.jsp contextConfigLocation classpath:com/config/spring/spring-*.xml org.springframework.web.conte...
分类:
编程语言 时间:
2014-07-07 11:56:13
阅读次数:
213
以上是工程文件,下面开始测试package test.testservice;import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation.Autow...
分类:
编程语言 时间:
2014-07-07 11:50:50
阅读次数:
163
1.由于项目中使用了spring.net作为IOC容器,所以看了下相应的博客,熟悉一下这方面的内容,参照博客为博客园刘冬的博客系列;博客地址:http://www.cnblogs.com/GoodHelper/archive/2009/10/25/1589554.html在写Demo的过程中,遇到的...
分类:
编程语言 时间:
2014-07-07 11:45:30
阅读次数:
193
@ContextConfiguration(locations = "classpath:conf/applicationContext.xml")@RunWith(SpringJUnit4ClassRunner.class)@Transactional@TransactionConfigurati...
分类:
编程语言 时间:
2014-07-07 09:11:52
阅读次数:
189
以前做的项目都是用.net开发的,以后准备迁移到java平台上,近期正好有个新项目要上马,所以调研下java相关技术。Spring作为java平台下的一个全栈框架, 其简洁优雅的设计和使用方式,良好的开放性和稳定性几乎无出其右者,所以决定以Spring框架为主线来学习java相关技术,希望能起到提纲...
分类:
编程语言 时间:
2014-07-03 22:38:51
阅读次数:
339
And what about the cleaning page. When cleaning bags always starts in the middle of the track before cleaning. Taking care of her insides spring, remo...
分类:
其他好文 时间:
2014-07-02 17:48:37
阅读次数:
219