![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
chanllen
这个作者很懒,什么都没留下…
展开
-
spring3 mvc中 web.xml 加入 OpenSessionInView
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_原创 2014-03-28 10:37:35 · 428 阅读 · 0 评论 -
springMVC js等文件找不到错误
应用springMVC时如果配置URL映射时如下配置[html] appServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/spring/转载 2014-03-18 17:59:13 · 566 阅读 · 0 评论 -
Spring 3 MVC And XML Example springmvc3 返回XMl
In Spring 3, one of the feature of “mvc:annotation-driven“, is support for convert object to/from XML file, if JAXB is in project classpath.In this tutorial, we show you how to convert a return转载 2014-04-20 13:38:53 · 444 阅读 · 0 评论 -
spring getHibernateTemplate() 返回null的问题
public class BasicDAOImpl extends HibernateDaoSupport implements BasicDAO{ public List findByHql(String hql)throws DataAccessException{ System.out.println("1111111111111"+getHi转载 2014-03-27 12:46:24 · 1739 阅读 · 0 评论 -
Spring rest 启动报错的一种可能性
出现如下报错信息org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/home/chanllen/.m2/repository/org/springframework/boot/spring-boot原创 2015-11-02 07:54:19 · 5717 阅读 · 0 评论 -
Spring maven打包成jar和war
这篇文章说的比较清楚http://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-maven-plugin.html转载 2015-11-20 23:36:53 · 485 阅读 · 0 评论