码迷,mamicode.com
首页 >  
搜索关键字:saving beans    ( 2930个结果
Manual close is not allowed over a Spring managed SqlSession
ManualcloseisnotallowedoveraSpringmanagedSqlSession整合spring与MyBatis时出现如下警告:[org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:360)]-[WARN]Invocationofdestroymethod‘close‘failedonb..
分类:数据库   时间:2015-07-12 21:50:08    阅读次数:1508
json字符串解析
package com.gamesvr.framework.util; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.math.BigDecimal; import java.math.Big...
分类:Web程序   时间:2015-07-12 17:31:24    阅读次数:184
Spring加载配置文件的几种方法(org.springframework.beans.factory.BeanDefinitionStoreException)
一:Spring中的几种容器都支持使用xml装配bean,包括:XmlBeanFactory ,ClassPathXmlApplicationContext ,FileSystemXmlApplicationContext ,XmlWebApplicationContext加载这些容器的配置文件的x...
分类:编程语言   时间:2015-07-11 10:36:46    阅读次数:131
spring 定义自己的标签 学习
自己的自定义配置文件spring 在,有时你想要做一些配置信息的数据结构。基于扩展生意做。首先:在项目META-INF文件夹中创建两个文件spring.handlers,和spring.shcemasSpring.handlers在类org.springframework.beans.factory...
分类:编程语言   时间:2015-07-10 14:45:15    阅读次数:157
SSH中 集成Quartz任务调度一 普通定时任务
废话不多说,我的任务的配置文件都是交给 applicationContext.xml 处理的! <?xml?version="1.0"?encoding="UTF-8"?> <beans?xmlns="http://www.springframework.org/schema/beans" ?xmlns:xsi="http://www.w...
分类:其他好文   时间:2015-07-10 11:36:41    阅读次数:125
关于spring security自定义sessionRegistry不工作的原因简析
最近调了一下springsecurity的集群session共享,用到了自定义的SessionRegistry,却发现怎么也不工作,翻了翻stackoverfllow,也没找到靠谱的办法,最后自己debug,找到了问题所在本文基于Spring3.1.5,Springsecurity2.0.4最开始配置如下:<beans:beanid="sessionRegistry" ..
分类:编程语言   时间:2015-07-09 22:58:44    阅读次数:1049
三期_day03_环境搭建和客户页面_I
下面交代一下使用的框架 前端: EasyUI+Jquery+Ajax 后台: Spring+Structs2+mybatis 数据库: Oracle 使用工具: MyEclipse12+Maven 操作系统: win7   1.spring.xml <beans xmlns="http://www.springframework.org/schema/beans...
分类:其他好文   时间:2015-07-09 09:48:50    阅读次数:162
Spring PropertyPlaceholderConfigure 加载配置文件
Spring允许我们通过外部属性文件来配置其容器上下文属性值。例如,对于数据源中完成连接数据库的部分,我们可以通过属性文件中的键值对完成对属性值的填充,类似${key}。其关系如下: 问题一. Spring怎么加载单个属性文件? 方法一:通过申明PropertyPlaceholderConfigurer bean对象完成配置文件的加载。 <beanid="testProperties" class="org.springframework.beans.factory.confi...
分类:编程语言   时间:2015-07-08 19:12:18    阅读次数:299
spring mvc 2.5.6配置
兼容公司老版本项目,必须得用spring mvc2.5.6,那么问题来了。怎么配置controller都抛出no mapping的错误。经过查文档得出以下配置,仅供参考。 servlet-config.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www....
分类:编程语言   时间:2015-07-08 19:12:06    阅读次数:119
修改SQL Server 表时提示:Saving changes is not permissted .The changes you have made require the following tables to be dropped and re-created ......
问题: 修改数据库表的时候,无法选择保存,提示:saving changes is not permitted , 如下图1,如果选择cancle,就会撤销保存,如果选择Save Text File,就会保存一个TXT 文件,不过不是sql 脚本,个人觉得没用。解决方法:不要捉急,这是因为你设置了保...
分类:数据库   时间:2015-07-08 14:26:38    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!