- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 springmvc报错:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation-driven'. 解决:头的引入顺序混乱 将http://www.springframework.org/schema/tx的位置移动到 ...
2018-07-31 15:01:28 1082
原创 springmvc报错:java.lang.NoSuchMethodError: org.springframework.context.support.AbstractApplicationCont
java.lang.NoSuchMethodError: org.springframework.context.support.AbstractApplicationContext.clearResourceCaches()V at org.springframework.context.support.AbstractApplicationContext.finishRefresh(Abstr...
2018-07-31 14:55:09 3119 2
原创 spring 报错:Error creating bean with name 'dataSource' defined in class path resource [bean.xml] Cause
Error creating bean with name 'dataSource' defined in class path resource [bean.xml] Caused by: java.lang.IllegalArgumentException: warning no match for this type name: com.yc.biz.impl [Xlint:inva...
2018-07-31 14:53:31 1842
原创 DI的注入方式
DI注入 1.构造方法注入 在xml文件中配置 1.1<constructor-arg />表示法 <bean id="person" class="com.yc.bean.Person"> <constructor-arg type="String" value="bobo" /> <constructor-arg t
2018-07-29 11:35:39 1646
原创 spring项目基本的xml配置
1.加入jar包 <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency&...
2018-07-26 18:47:11 314
SpringCloud学习之服务注册与发现
2018-09-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人