会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
含苞待放会有时
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2018年11月15日
初学spring boot 一
摘要: 建立maven项目,在prom.xml中导入依赖
阅读全文
posted @ 2018-11-15 16:51 含苞待放会有时
阅读(126)
评论(0)
推荐(0)
2018年11月2日
spring boot中jsp解析c标签方法
摘要: pro.xml中添加jstl标签 <dependency><groupId>javax.servlet</groupId><artifactId>jstl</artifactId><version>1.2</version></dependency> 在jsp页面中写入<%@ taglib pref
阅读全文
posted @ 2018-11-02 09:56 含苞待放会有时
阅读(597)
评论(0)
推荐(0)
Exception in thread "main" java.lang.IllegalStateException: Failed to read Class-Path attribute from manifest of jar file:
摘要: 表示jar所在位置文件夾中沒有下載好,將目標目錄刪除,重新maven下就好了
阅读全文
posted @ 2018-11-02 09:32 含苞待放会有时
阅读(1478)
评论(0)
推荐(0)
2018年10月29日
报Error creating bean with name 'dataSource' defined in class path resource 报错解决办法
摘要: 在学习spring boot 的数据库操作的时候,报了一串错误 对于初学spring boot的我来说,英语水平低,看不懂报错的信息,给我造成了很大的麻烦,花了我一天的时间,经过不懈的努力后终于让我找到了问题所在 spring boot会默认加载org.springframework.boot.au
阅读全文
posted @ 2018-10-29 21:06 含苞待放会有时
阅读(125812)
评论(3)
推荐(2)
Error creating bean with name 'dataSource' defined in class path resource 报错解决办法
摘要: 在学习spring boot 的数据库操作的时候,报了一串错误
阅读全文
posted @ 2018-10-29 20:51 含苞待放会有时
阅读(1763)
评论(0)
推荐(1)
springBoot使用@Value标签读取*.properties文件的中文乱码问题
摘要: 上次我碰到获取properties文件中的中文出现乱码问题。 查了下资料,原来properties默认的字符编码格式为asci码,所以我们要对字符编码进行转换成UTF-8格式 原先代码:@PropertySource("classpath:fu.properties") 改后代码:@Property
阅读全文
posted @ 2018-10-29 08:18 含苞待放会有时
阅读(595)
评论(0)
推荐(0)
@ConfigurationProperties注解取消location属性
摘要: 当我正在自学如何自定义properties配置文件,为了防止不必要的麻烦,重新创建了一个新的properties文件 fu.properties 然后在自定义的配置类中引入fu.properties/ 但由于我采用的是spring boot 2.0.6版本,@ConfigurationPropert
阅读全文
posted @ 2018-10-29 07:54 含苞待放会有时
阅读(689)
评论(0)
推荐(0)
2018年10月27日
添加spring-boot-devtools热部署报错
摘要: 使用的eclipse部署的spring boot,百度了下,大部分的问题都是说IDE工具使用热部署无法成功的解决方案,看了很懵逼 <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-pl
阅读全文
posted @ 2018-10-27 23:43 含苞待放会有时
阅读(11005)
评论(4)
推荐(1)
spring boot 开始部署报Whitelabel Error Page错解决方法
摘要: 因为时刚刚才学spring boot ,第一次碰到的问题,花了半个小时终于明白了,SpringBoot 的application类会自动扫描子包类下的mapping方法,因此application类不能放在与子包同一级目录下。如果放在同一级目录下就会报”Whitelabel Error Page“
阅读全文
posted @ 2018-10-27 16:50 含苞待放会有时
阅读(953)
评论(0)
推荐(0)
eclipse创建spring boot项目,tomcat启动成功,但http://localhost:8080无法访问报错404解决方案
摘要: spring boot的启动程序启动后,在访问http://localhost:8080地址的时候出现了错误,为什么出错网上我找了好久也没有得出具体的解决办法 当我指定到具体的action的时候,却可以正常的访问,目前一头懵逼。
阅读全文
posted @ 2018-10-27 16:45 含苞待放会有时
阅读(5376)
评论(1)
推荐(0)
上一页
1
2
3
4
下一页
公告