错误:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionOwnerVoter'原因:JDK版本太高(1.8)解决:将JDK版本将为1.7即可
分类:
Web程序 时间:
2015-04-08 23:07:11
阅读次数:
220
jar文件下载地址:
一、准备jar包
【mybatis】
mybatis-3.2.0.jar
mybatis-spring-1.1.1.jar
log4j-1.2.17.jar
【spring】
spring-aop-3.2.0.RELEASE.jar
spring-beans-3.2.0.RELEASE.jar
spring-context-3.2.0.RELEASE...
分类:
编程语言 时间:
2015-04-08 21:35:11
阅读次数:
143
!--?from?the?file?context.xml?-->
<?xml?version="1.0"?encoding="UTF-8"?>
<beans?xmlns="http://www.springframework.org/schema/beans"
????xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta...
分类:
数据库 时间:
2015-04-07 20:19:40
阅读次数:
241
链接:click here~~
题意:
某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹.
怎么办呢?多搞几套系统呗!你说说倒蛮容易,成本呢?成本是个大问题啊.所以俺就到这...
分类:
其他好文 时间:
2015-04-07 15:40:27
阅读次数:
117
首先部署Spring框架I:需要加入的jar包: Spring核心包 org.springframework.asm-3.1.1.RELEASE.jar org.springframework.beans-3.1.1.RELEASE.jar ...
分类:
其他好文 时间:
2015-04-07 15:34:18
阅读次数:
165
Spring MVC 通过一套 MVC 注解,可以让 POJO 成为处理请求的控制器,无须实现任何接口1. 搭建环境:1). 加入 jar 包:commons-logging-1.1.1.jarspring-aop-4.0.0.RELEASE.jarspring-beans-4.0.0.RELEAS...
分类:
编程语言 时间:
2015-04-07 13:47:54
阅读次数:
165
前提:已经部署spring(参考上篇:web project 部署 spring bean工厂)一:新增依赖jar包 1:spring-aop-4.1.6.RELEASE.jar (修改applicationContext.xml中beans属性时需要)二:web.xml不变,修改applica.....
分类:
编程语言 时间:
2015-04-03 14:53:11
阅读次数:
204
1.JSONObject介绍JSONObject-lib包是一个beans,collections,maps,java arrays和xml和JSON互相转换的包。2.下载jar包http://files.cnblogs.com/java-pan/lib.rar提供了除JSONObject的jar之...
分类:
Web程序 时间:
2015-04-03 10:48:02
阅读次数:
271
1.背景今天要做一个demo,从github上clone一个springmvc mybatis的工程(https://github.com/komamitsu/Spring-MVC-sample-using-iBatis)打包成war后启动报错:org.springframework.beans.f...
分类:
移动开发 时间:
2015-04-02 18:51:32
阅读次数:
301
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
//题意:从num[1]~num[n]中取一段连续的序列,使得(num[i]+...+num[j])%p<=k且该序列的和最大化
//令ma=a%mod,mb=b%mod,如果ma<mb,那么(a-b)%mod的值...
分类:
其他好文 时间:
2015-04-02 09:09:16
阅读次数:
174