eclipse安装sts(springsource-tool-suite)插件
摘要:一、查看eclipse的版本 在菜单help下, about eclipse, 确定eclipse的版本是4.5.0 二、去找sts下载地址 选择 sts-3.7.0 sts-3.8.3的下载地址:http://download.springsource.com/release/TOOLS/upda
阅读全文
posted @
2023-01-31 13:42
wuyicode
阅读(762)
推荐(0) 编辑
给thymeleaf中 href 的 url传递 参数
摘要:thymeleaf th:href url传递 参数 的问题 <a th:href="@{/index(user=${user},email=${email})}"></a> 和传统的写法,效果一样的。 <a th:href="/index?user=123&email=456"></a>
阅读全文
posted @
2020-06-11 14:34
wuyicode
阅读(3426)
推荐(0) 编辑
spring mvc 找不到静态资源--路径问题
摘要:在找静态资源的时候。避免出现找不到文件,http 报 404的错误。其实就是 相对路径,绝对路径和项目部署的路径三者的区别。 推荐使用项目的部署路径${pageContext.request.contextPath}
阅读全文
posted @
2020-06-11 14:32
wuyicode
阅读(590)
推荐(0) 编辑
Spring容器创建Bean失败问题(Spring Web)
摘要:在Spring项目中遇到 创建Bean失败问题。 而且,web.xml文件里有 配置文件的路径说明 applicationContext*.xml 。 实际看到文件名是 所以把applicationContext*.xml改成applicationContext-*.xml,这样匹配效果更强。 再次
阅读全文
posted @
2019-10-03 03:59
wuyicode
阅读(1318)
推荐(0) 编辑
spring源码阅读环境搭建
摘要:下载地址 https://github.com/spring-projects/spring-framework/tags 以 spring-framework-5.1.9.RELEASE 为例。在windows下,使用idea2018,gradle4.10,jdk1.8。 导入idea 准备工作
阅读全文
posted @
2019-08-18 01:40
wuyicode
阅读(652)
推荐(0) 编辑