- 浏览: 684048 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (362)
- java基础 (33)
- html/css+div/javascript (17)
- Ajax/XML/JSON/XSL (7)
- JQuery (11)
- Extjs (1)
- JSP/Servlet (19)
- MVC模式 (4)
- struts 1 (17)
- Struts 2.3.4 (17)
- Spring 3.2 (26)
- Springmvc (3)
- Hibernate 4.1 (21)
- ibatis (6)
- Velocity模板语言 (2)
- Rose框架 (5)
- EJB (1)
- JUnit测试 (2)
- 数据库DB (24)
- 重构 / 设计模式 (3)
- 开发工具IDE (37)
- 数据结构与算法设计 (3)
- Android (12)
- Linux (4)
- bug集合 (29)
- 缓存技术(redis) (3)
- Lucene全文索引 (15)
- maven3.0.5 (4)
- 小工具集合 (18)
- 面试题 (5)
- 闲聊 (11)
- 其他 (4)
- 接口API (2)
- work (2)
- Flex (0)
- JMS (1)
- 开源项目集合 (1)
- 技术博客 (1)
- 分类04 (0)
- 分类05555 (0)
最新评论
-
小小小羊:
好屌...
java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$Refle -
liubinli2005:
这个可以脱底spring。单独使用吗?
DAO层:jade -
cangbaotu:
我觉得对于开发者来说,能脚本化编写爬虫是一件挺开心的事情( ̄▽ ...
网页爬取 -
asjava:
很好的文章, 但每段代码清单都重复了一次.
spring 事务 -
xia635317478:
jethypc 写道验证码的session无法传过去啊 还是我 ...
登陆验证码(struts2实现)
Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace
问题:缺少org.springframework.aop.jar包
缺少org.springframework.transaction-3.0.1.RELEASE-A.jar
在spring配置文件applicationContext-resources.xml加入事务管理则需要上述两包:
引用
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop]
问题:缺少org.springframework.aop.jar包
缺少org.springframework.transaction-3.0.1.RELEASE-A.jar
在spring配置文件applicationContext-resources.xml加入事务管理则需要上述两包:
<!--TransactionManager Definition--> <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"> <property name="sessionFactory"><ref local="sessionFactory" /></property> </bean> <tx:advice id="transactionManagerAdvice" transaction-manager="transactionManager"> <tx:attributes> <tx:method name="get*" read-only="true" /> <tx:method name="find*" read-only="true" /> <tx:method name="query*" read-only="true" /> <tx:method name="getFlowCtrolInfo*" propagation="REQUIRED" /> <tx:method name="*" propagation="REQUIRED" rollback-for="AppTranException" /> </tx:attributes> </tx:advice> <aop:config> <aop:pointcut id="exampleServiceOperation" expression="execution(* com.momo.*.service.impl.*ServiceImpl.*(..))" /> <aop:advisor pointcut-ref="exampleServiceOperation" advice-ref="transactionManagerAdvice" /> </aop:config>
- org.springframework.aop-3.0.1.RELEASE-A.jar (312.8 KB)
- 下载次数: 2
- org.springframework.transaction-3.0.1.RELEASE-A.jar (223.4 KB)
- 下载次数: 1
发表评论
-
Tomcat:IOException while loading persisted sessions: java.io.EOFException
2013-11-14 17:39 834Tomcat:IOException while loadin ... -
'sessionFactory' or 'hibernateTemplate' is required
2013-08-18 21:35 773'sessionFactory' or 'hibernateT ... -
column: id (should be mapped with insert="false" update="false")
2013-08-18 16:59 2005Spring集成Hibernate:column: id (s ... -
Unsupported major.minor version 51.0
2013-08-17 10:01 1009Unsupported major.minor version ... -
SVN无法提交-RA layer request failed
2013-08-05 09:12 1231SVN无法提交-RA layer request failed ... -
类是ThreadPoolExecutor:时不时的就会在workerDone(this);
2013-07-05 00:17 2613类是ThreadPoolExecutor:时不时的就会在wo ... -
Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds
2013-03-21 15:34 1917一、bug:Server Tomcat v6.0 Server ... -
java.lang.UnsupportedClassVersionError: Bad version number in .class file
2013-03-19 10:33 915bug: java.lang.UnsupportedClas ... -
找不到包:javax.servlet.annotation.WebServlet
2013-03-18 16:54 14746找不到包:javax.servlet.annotation.W ... -
异常:Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntit
2013-03-08 23:47 3346异常:Unable to instantiate defau ... -
java.sql.SQLException: Can't call commit when autocommit=true
2013-01-29 11:00 5630当我在数据库更新, ... -
java.security.NoSuchAlgorithmException: AES KeyGenerator not available
2013-01-28 10:23 12025java.security.NoSuchAlgorithmEx ... -
java.util.MissingResourceException: Can't find bundle for base name systemConfig
2013-01-28 10:19 23469bug:java.util.MissingResourceEx ... -
Cannot find message resources under key org.apache.struts.action.MESSAGE
2013-01-15 14:53 1025异常1: Cannot find message resour ... -
org.springframework.dao.InvalidDataAccessApiUsageException: OracleLobCreator
2013-01-11 15:35 1728org.springframework.dao.Invalid ... -
org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity
2013-01-11 15:10 8268引用org.springframework.orm.hiber ... -
java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$Refle
2013-01-10 10:57 10238java.lang.NoClassDefFoundError ... -
java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
2013-01-10 10:53 976java.lang.NoClassDefFoundError: ... -
java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice
2013-01-10 10:50 965整合SSH的时报错误: java.lang.NoClassDe ... -
WARN No appenders could be found for logger的解决方法
2013-01-09 15:57 1612引用log4j:WARN No appenders could ...
相关推荐
使用assembly插件打包jar后启动时,总是出现Unable to locate Spring NamespaceHandler for XML schema....错误,网上找了各种方法都没有用,在尝试了100+失败后,解决了这个问题,在打包的jar中,META-INF目录下,...
在搭建spring项目时通常需要这些jar包 ...org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace ...
selenium+firefox在定位时遇到selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: 由于是js加载页面,想确认是否是js的原因,随后进行多次调试时发现“//div”竟然也出现了...
ubuntu下mingw32交叉编译环境搭建,包含详细的步骤和执行命令行。
Ubuntu12.04(64bit) server Oracle 11G(最新问题解决)
linux gcc install 很全的linux gcc 安装,对离线安装gcc很有帮助...
1、Unable to locate provider for protocol: smtp –>缺少依赖造成的 <groupId>javax.mail <artifactId>mail <version>1.4 <groupId>javax.activation <artifactId>activation</artifactId>
这个是glib2-devel,它和glib.2..不一样。 我是在编译heartbeat时,遇到缺少glib2-devel包的时候,下载的。 包含64位系统的和32位系统的
非常经典的linux入门教程,无需基础,是权威认证机构的教材,这只是一部分
MySql数据库安装包,用于数据信息的存储,一键安装,简单方便。
NULL 博文链接:https://1157718866.iteye.com/blog/2406566
下载opencv.zip 要提前安装依赖项。 先更新一下下载源。...errorE: unable to locate libjasper-dev 解决方法 sudo add-apt-repository “deb http://security.ubuntu.com/ubuntu xenial-security main” sudo a
lingo0.9破解版
copy-webpack-plugin-demo.rar 拷贝文件demo, 现成案例,可以参考使用 免积分下载地址 https://download.lllomh.com/cliect/#/product/JB23148366892270
Spark在windows运行报错-ERROR Shell Failed to locate the winutils binary in the hadoop binary path java.io-附件资源
报错:java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.-附件资源
在windows环境下的eclipse或者idea中编写spark应用时,有时为了验证程序功能需要以本地模式运行...java.io.Exception: Could not locate executable null\bin\winutils.exe in the Hadoop binarie 本文件可以解决此异常
Makefile.config for SSD detection framework
缺少winutils.exe会报如下错误: Could not locate executable null \bin\winutils.exe in the hadoop ...Unable to load native-hadoop library for your platform… using builtin-java classes where applicable
解决在BC45上编译ucosii时出现“could not locate:TASM2MSG”问题 可以把TASM2MSG.DLL考到C:\TASM\BIN下,也可以考到程序工程目录下 (C:\SOFTWARE\uCOS-II\EX1_x86L\BC45\SOURCE)