最近在实验maven结构的maven工程时,碰到一个问题,springbean总是初始化失败: Related cause:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean wi...
分类:
编程语言 时间:
2014-07-07 12:45:29
阅读次数:
854
jdbc.properties#hibernate settings hibernate.show_sql=truehibernate.format_sql=truehibernate.cache.use_query_cache=truehibernate.cache.provider_class=...
分类:
编程语言 时间:
2014-07-07 12:43:02
阅读次数:
184
一、概述: 本文介绍且记录如何解决在SpringMVC 中遇到415 Unsupported Media Type 的问题,并且顺便介绍Spring MVC的HTTP请求信息转换器HttpMessageConverter。二、问题描述: 在SprinvMVC的Web程序中,我在页面发送Ajax .....
分类:
编程语言 时间:
2014-07-07 12:37:45
阅读次数:
265
windows 的Schedule Task.创建配置 1.点击“開始” 2.点击“控制面板” 3.双击“任务计划” 4.双击“加入任务计划” 5.到了“任务计划向导”界面,点击“下一步” 6.点击“浏览”选择须要定时执行的程序(exe文件,bat文件,com文件,sys文件)然后确定。 7.给此任...
service接口package com.fangjian.core.platform.service;import com.fangjian.core.platform.po.User;public interface UserService { void saveUser(User use...
分类:
编程语言 时间:
2014-07-07 11:57:38
阅读次数:
209
json_test login.jsp contextConfigLocation classpath:com/config/spring/spring-*.xml org.springframework.web.conte...
分类:
编程语言 时间:
2014-07-07 11:56:13
阅读次数:
213
以上是工程文件,下面开始测试package test.testservice;import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation.Autow...
分类:
编程语言 时间:
2014-07-07 11:50:50
阅读次数:
163
1.由于项目中使用了spring.net作为IOC容器,所以看了下相应的博客,熟悉一下这方面的内容,参照博客为博客园刘冬的博客系列;博客地址:http://www.cnblogs.com/GoodHelper/archive/2009/10/25/1589554.html在写Demo的过程中,遇到的...
分类:
编程语言 时间:
2014-07-07 11:45:30
阅读次数:
193
@ContextConfiguration(locations = "classpath:conf/applicationContext.xml")@RunWith(SpringJUnit4ClassRunner.class)@Transactional@TransactionConfigurati...
分类:
编程语言 时间:
2014-07-07 09:11:52
阅读次数:
189
题目链接:uva 11728 - Alternate
Task
题目大意:给出S,求N,要求N所有的因子和为S。
解题思路:枚举因子i,所有整除i的数和加上i。
#include
#include
const int N = 1005;
int n, c[N], v[N];
void init () {
memset(c, 0, sizeof(c));
...
分类:
其他好文 时间:
2014-07-02 16:55:04
阅读次数:
167