- 博客(4)
- 收藏
- 关注
原创 would dispatch back to the current handler URL
Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.
2022-12-13 13:54:01
216
原创 spring使用aspect注解切面不起作用,可能的原因为<context:component-scan base-package=“com.zhang.spirng“/>配置问题
spring使用aspect注解切面不起作用,可能的原因为配置问题
2022-12-12 14:08:17
615
原创 No qualifying bean of type [org.apache.ibatis.session.SqlSessionFactory] is defined:
所以导致applicationContext_mapper.xml加载了两次(第一次是web.xml加载applicationContext_mapper.xml,第二次是applicationContext_mapper.xml中的import中又加载了一次),因此出现上述情况。大概错误的意思是有两个org.mybatis.spring.SqlSessionFactoryBean#0,org.mybatis.spring.SqlSessionFactoryBean#1。
2022-12-11 19:31:24
1275
原创 配置applicationContext_mapper.xml文件时,出现Could not open ServletContext resource [/jdbc.properties]异常
在配置applicationContext_mapper.xml文件时,因为要将项目部署到远端服务器上面,要告诉服务器文件位置,所以下面两处地方一定要加上classpath:后面跟文件名称!
2022-12-09 21:27:07
228
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人