码迷,mamicode.com
首页 >  
搜索关键字:springframework    ( 4755个结果
Could not parse configuration: file:/D:/apache-tomcat-7.0.55-windows-x64/apache-tomcat-7.0.55/webapp
在做ssh项目时,启动tomcat,出现了以下的错误 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanC...
分类:移动开发   时间:2014-11-26 21:04:00    阅读次数:975
org.springframework.beans.factory.BeanCreationException: 求教育!
2014-11-26 14:05:56 [org.springframework.web.context.support.XmlWebApplicationContext]-[WARN] Exception encountered during context initialization - ca...
分类:编程语言   时间:2014-11-26 16:12:13    阅读次数:518
Spring AOP的简单示例
配置文件 service类:package com.zhiguoguo.service;import org.springframework.stereotype.Component;@Componentpublic class HelloService { pu...
分类:编程语言   时间:2014-11-26 15:46:40    阅读次数:311
Spring中的<context:annotation-config/>配置
当我们需要使用BeanPostProcessor时,直接在Spring配置文件中定义这些Bean显得比较笨拙,例如:   使用@Autowired注解,必须事先在Spring容器中声明AutowiredAnnotationBeanPostProcessor的Bean: bean class="org.springframework.beans.factory.annotation.Auto...
分类:编程语言   时间:2014-11-26 14:24:19    阅读次数:206
Spring整合Quartz实现持久化、动态设定时间
一、spring整合 网上一搜有很多整合的方式,这里我采用了其中的一种(暂时还没有对其他的方法研究过)。 对于spring的整合其中的任务,spring提供了几个类、接口(这些类都实现了Job接口): org.springframework.scheduling.quartz.QuartzJo...
分类:编程语言   时间:2014-11-25 23:29:35    阅读次数:295
Quartz与Spring整合进行热部署的实现(二)
Spring的org.springframework.scheduling.quartz.JobDetailBean提供Job可序列化的实现(具体实现可查看源码)此时.我们原来的job就可以继承QuartzJobBean,便会自动序列化到数据库,quartz的具体配置文件如下 quartz配置...
分类:编程语言   时间:2014-11-25 23:21:37    阅读次数:331
Spring获取ApplicationContext对象工具类
(1)实现的工具类: package com.util; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; final public class ApplicationContex...
分类:移动开发   时间:2014-11-24 17:22:51    阅读次数:160
SpringMVC是用junit测试
架包支持:junit.jar;org.springframework.test-3.1.0.RELEASE.jar 测试Dao基础类:JUnitDaoBase Java代码 packagetest.test;importjavax.annotation.Resource;importjavax.sq...
分类:编程语言   时间:2014-11-24 13:24:03    阅读次数:168
Could not resolve placeholder 'master.jdbc.url' in string value "${master.jdbc.url}"
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'masterDataSource' defined in file [C:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\w...
分类:数据库   时间:2014-11-23 19:02:50    阅读次数:1917
SpringMVC(一)流程框架总体介绍
SpringMVC属于SpringFrameWork的后续产品,已经融合在Spring Web Flow里面。Spring 框架提供了构建 Web 应用程序的全功能MVC 模块,其功能和Strtus2,Struts1是类似的,只不过是实现的原理不同而已。其中Struts2是通过过滤器来实现路劲和action的映射等控制流转功能,而Struts1和SpringMVC则是通过最传统的servlet来实...
分类:编程语言   时间:2014-11-22 17:30:33    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!