[J2EE框架][Debug]
来源:互联网 发布:java平台是什么 编辑:程序博客网 时间:2024/04/29 19:24
注意xml头部问题
比如在xx-servlet中注意:<mvc:annotation-driven/> <context:component-scan base-package="cn.itcast.ssm.controller"></context:component-scan>
要用
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd ">
注意是否拦截了url
扫描时抛异常
http://stackoverflow.com/questions/29755736/java-lang-illegalargumentexception-while-added-contextcomponent-scan
原因:java8和spring3的结合会有很多诡异的BUG,切记
0 0
- [J2EE框架][Debug]
- J2EE框架。。。
- J2EE框架
- J2EE框架
- J2ee 框架
- J2EE开发框架发展史
- 开源J2EE框架Appfuse
- Java开源 J2EE框架
- Java开源J2EE框架
- Pomer-J2EE框架
- J2EE框架(转)
- J2EE开源框架
- Java开源 J2EE框架
- J2EE框架一览
- J2EE框架之Hibernate
- Java开源 J2EE框架
- Java开源 J2EE框架
- J2EE高级框架实战
- LeetCode 86. Partition List
- C#接口的定义、特点、实现和应用
- 认识VTK工作原理
- 可变参数列表
- C++第三次上机实验-个人所得税计算器
- [J2EE框架][Debug]
- 虚幻4 主线程与渲染线程的同步。
- 编译原理课后习题答案令A,B和C是任意正规式,证明以下关系成立(A|B)*=(A*B*)*=(A*|B*)*
- Android动态加载基础 ClassLoader工作机制
- SI4463研究计划(兼STM32F0进一步加深理解)
- TextField的简单使用
- Git & Repo & Gerrit
- TCP的TIME_WAIT快速回收与重用
- 协议和代理模式的概念