码迷,mamicode.com
首页 >  
搜索关键字:beans    ( 2634个结果
Spring aop Cannot subclass final class class com.sun.proxy
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bean': Post-processing of the FactoryBean's object failed; nested exception is org.springfra...
分类:编程语言   时间:2015-01-30 15:51:33    阅读次数:2718
org.springframework.beans.factory.BeanDefinitionStoreException:
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext...
分类:编程语言   时间:2015-01-30 15:24:28    阅读次数:423
java Spring使用配置文件读取jdbc.properties
Spring使用配置文件读取jdbc.properties在beans.xml中加入两个必须的bean[html] 在web-inf下面的jdbc.properties[html]jdbc.driverClassName=com.mysql.jdbc.Driverjdbc.url=jdbc:...
分类:数据库   时间:2015-01-29 19:25:37    阅读次数:187
memCached的配置文件 配置
<?xmlversion="1.0"encoding="UTF-8"?><beansxmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/sche..
分类:系统相关   时间:2015-01-26 17:24:27    阅读次数:165
spring 之IOC
spring 在初始化bean的时候,需要注入beans之间的依赖关系。依赖注入(DI)产基本原理是对象之间的依赖关系,它一般只会通过以下几种方式来实现。构造器的参数、工厂方法的参数,或给由构造函数或者工厂方法创建的对象设置属性。DI 主要有两种注入方式。Setter 和构造器注入。构造器注入1 2...
分类:编程语言   时间:2015-01-26 13:17:57    阅读次数:212
Referenced file contains errors (http://www.springframework.org/schema...错误--转载
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd).关于这个错误,导致的原因可能是一种可能是之前用的Spring版本,和现在用的不同对于Eclipse编译...
分类:编程语言   时间:2015-01-26 11:45:11    阅读次数:157
spring定时任务(方便轻巧)
spring提供了定时任务功能,不需要第三方jar包支持,spring足以。代码:[java] view plaincopypackagecom.inth.product.web.task;importjava.util.Date;importorg.springframework.beans.fa...
分类:编程语言   时间:2015-01-25 01:23:27    阅读次数:399
hdu 2845 Beans(DP)
题意:M*N的矩阵,每个格子上有一个值。规则:如果你拾起了某个格子(i,j)上的值,那么第i-1行、第i+1行、(i,j-1)格子上、(i,j+1)格子上的值都不能取。问最多可以取得多少值(最大值)。思路:如果某行取了某一个值,则它的前一行和后一行都不能取。所以我们必须知道这行可以取得的最大值是多少...
分类:其他好文   时间:2015-01-24 22:44:59    阅读次数:114
06_MyBatis,Spring,SpringMVC整合
?? 项目结构 Spring的配置: beans.xml xml version="1.0" encoding="UTF-8"?> beans xmlns="http://www.springframework.org/schema/beans"     xmlns:xs...
分类:编程语言   时间:2015-01-21 01:25:20    阅读次数:527
J2ee 巴巴网站制作(二)
新建一个测试案例ProductTest:重写runtest方法:创建实力管理工厂:自动更新表是依靠persistence.xml文件中的该语句:测试ProductType类:运行测试案例:在sql manager中查看信息:导入spring jar包:beans.xml:创建ProductTest类...
分类:Web程序   时间:2015-01-20 20:04:36    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!