spring
要努力的嘻哈风范
这个作者很懒,什么都没留下…
展开
-
spring+hibernate整合
1,学习spring+hibernate整合目录结构:1、首先添加jar包 为整合做准备;3,spring的配置文件和hibernate的配置文件、db.properties文件applicationContext.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org原创 2016-09-02 11:39:37 · 402 阅读 · 0 评论 -
spring+maven 报错 Multiple annotations found at this line: 解决办法
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/ spring-beans-3.1.xsd', because 1) could not find the docum原创 2017-02-21 21:22:30 · 13714 阅读 · 1 评论 -
java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener 报错信息
一:如果出现下面的错误信息,如果你的项目是Maven结构的,那么一般都是你的项目的Maven Dependencies没有添加到项目的编译路径下: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found原创 2017-02-22 11:40:03 · 878 阅读 · 0 评论 -
spring MVC之构造ModelAndView对象
spring MVC之构造ModelAndView对象 ---------- 构造ModelAndView对象 当控制器处理完请求时,通常会将包含视图名称或视图对象以及一些模型属性的ModelAndView对象返回到DispatcherServlet。因此,经常需要在控制器中构造ModelAndView对象。ModelAndView类提供了几个重载的构造器和一转载 2017-03-20 21:25:35 · 480 阅读 · 0 评论