<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springfram...
分类:
移动开发 时间:
2014-09-12 17:14:33
阅读次数:
336
使用@Resource:
使用方法:
1、在spring的配置文件中导入命名空间
xmlns:context="http://www.springframework.org/schema/context"
http://www.springframework.org/schema/context
http://www.spri...
分类:
编程语言 时间:
2014-09-10 22:33:51
阅读次数:
215
[persistence/sql-map-.xml]; nested exception is java.io.FileNotFoundException: class path resource [sql-map-config-2.dtd] cannot be opened because it does not exist at org.springframework.beans.fac...
分类:
数据库 时间:
2014-09-10 12:49:40
阅读次数:
402
配置过滤器在servlet前执行。 1 2 HiddenHttpMethodFilter 3 org.springframework.web.filter.HiddenHttpMethodFilter 4 ...
分类:
其他好文 时间:
2014-09-09 18:14:49
阅读次数:
237
org.springframework.data spring-data-commons 1.4.1.RELEASE org.springfram...
分类:
数据库 时间:
2014-09-09 17:32:29
阅读次数:
238
最近重构的项目(Java初学中),Service层一个获取通知记录报错:org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute statement; SQL [n/a]; nested ex...
分类:
系统相关 时间:
2014-09-09 17:30:29
阅读次数:
237
在java中增加了过滤器filter,一般我们定义的filter都要继承filter接口从而实现dofilter方法,filter的配置,我们可以在web.xml中进行配置,配置如下:
org.springframework.web.context.ContextLoaderListener
encodingFilter
org.springframework.we...
分类:
其他好文 时间:
2014-09-09 13:11:08
阅读次数:
157
出现NoClassDefFoundError,最好自己多查查 1.最常想到的方法是缺少包,这个也最好解决。2.可能包的版本不对,包里面并没有需要的类文件。打开包看看,有没有这个类。3.包多了,其他类里面也有类似的包路径,却没有此类,这个要耐心的找了。今天学习spring+cxf的时候遇到一个问题:在...
分类:
编程语言 时间:
2014-09-09 10:36:08
阅读次数:
346
在web-application-config.xml中定义 结果,运行时出错:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'employeeServiceDest' ....
分类:
编程语言 时间:
2014-09-09 10:35:08
阅读次数:
205
package?com.pk.web.controller;
import?org.springframework.stereotype.Controller;
import?org.springframework.web.bind.annotation.RequestMapping;
import?org.springframework.web.multipart.Multipa...
分类:
编程语言 时间:
2014-09-06 23:55:44
阅读次数:
584