spring 定时任务的 执行时间设置规则单纯针对时间的设置规则org.springframework.scheduling.quartz.CronTriggerBean允许你更精确地控制任务的运行时间,只需要设置其cronExpression属性。一个cronExpression表达式有至少6个(...
分类:
编程语言 时间:
2014-12-02 15:00:13
阅读次数:
236
今天在linux上部署dubbo-admin-2.5.4,一直报错:ERROR context.ContextLoader - Context initialization failedorg.springframework.beans.factory.BeanCreationException: ...
分类:
其他好文 时间:
2014-12-01 20:38:55
阅读次数:
2224
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException Table 'xinghe.base_class' doesn't existHTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammar...
分类:
数据库 时间:
2014-12-01 19:18:44
阅读次数:
513
1、错误描述
11-30 18:15:52 ERROR [localhost-startStop-1] org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:468) - Context initialization failed
org.springframework.bea...
分类:
编程语言 时间:
2014-11-30 23:20:40
阅读次数:
245
在SSH2整合中出现的异常:严重:Servlet.service()forservletjspthrewexception
org.springframework.beans.factory.NoSuchBeanDefinitionException:Nobeannamed‘sessionFactory‘isdefined
atorg.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefi..
分类:
其他好文 时间:
2014-11-30 21:41:56
阅读次数:
351
闲来无事觉得以前用过的一些东西过一段时间会忘记,所以开始想着发博文,第一次发博文,如有问题大家请多多指正。1,首先在application.xml里面配置数据源<beanid="dataSource"class="org.springframework.jndi.JndiObjectFactoryBean">
<propertyname="jndiName">..
分类:
数据库 时间:
2014-11-30 17:20:30
阅读次数:
193
基于spring框架简单三步:导包配置XML接口调用xml配置:<?xmlversion="1.0"encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework...
分类:
编程语言 时间:
2014-11-28 18:31:43
阅读次数:
215
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘Controller‘: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory...
分类:
编程语言 时间:
2014-11-28 12:48:48
阅读次数:
188
Spring3.1启动时报错:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactoryat org.springframework.core.CollectionF...
分类:
编程语言 时间:
2014-11-27 12:40:44
阅读次数:
159
1.Download the Spring dependency jar2.Place it to the lib folder path is /WEB-INF/lib/spring.jar3.Then open the web.xml and the sample code is:/WEB-IN...
分类:
编程语言 时间:
2014-11-27 12:18:22
阅读次数:
1170