![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
土豆大人
这个作者很懒,什么都没留下…
展开
-
解决maven项目打包运行时出现“没有主清单属性”问题
没有主清单属性原创 2023-02-19 20:00:22 · 783 阅读 · 0 评论 -
Spring Boot 排除自动配置的 4 种方法,关键时刻很有用!
Spring Boot 排除自动配置的 4 种方法转载 2022-08-23 14:55:01 · 3009 阅读 · 0 评论 -
DRUID访问监控首页INDEX.HTML页面404 WHITELABEL ERROR PAGE THIS APPLICATION HAS NO EXPLICIT MAPPING FOR /ERROR
This application has no explicit mapping for /error, so you are seeing this as a fallback转载 2022-04-21 19:48:16 · 959 阅读 · 0 评论 -
Disconnected from the target VM, address: ‘127.0.0.1:6825‘, transport: ‘socket‘
Disconnected from the target VM, address: '127.0.0.1:6825', transport: 'socket'遇到个奇怪的问题,启动后就卡在这里不动了原因:springcloud版本是2springboot版本1.5由于历史原因,springboot版本、feign、eureka版本不匹配导致,修改全是高版本或者都是低版本解决...原创 2021-04-09 15:44:57 · 339 阅读 · 0 评论 -
SpringBoot访问html和js等静态资源配置
SpringBoo推荐使用thymeleaf模板作用前端页面展示,整体结构如下所示:这里我并没有引入thymeleaf模板,所以页面放在了pages目录下。application.yml配置如下:server: port: 9000 context-path: /sso address: sso.serverspring: mvc: static-path-pat...转载 2019-01-09 21:14:43 · 1091 阅读 · 0 评论 -
spring boot 返回json There was an unexpected error (type=Not Found, status=404).
在做一个spring boot的小demo的时候,完全是按照其他人的例子来做的,但是运行以后返回界面始终是404:Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.Tue Apr 17 13:12:15 CST 20...转载 2018-12-05 09:49:40 · 1481 阅读 · 0 评论 -
mui读取服务器文件doc、图片、pdf等调用手机已安装软件进行预览
服务端使用的spring boot,手机端使用的混合开发mui框架和H5+废话不多说,直接上代码服务端: @RequestMapping(value = "/viewFile") @SystemControllerLog(description = "文件预览") public void pdfStreamHandler(@RequestParam Map<String, ...原创 2018-10-01 16:02:49 · 4455 阅读 · 4 评论 -
springboot访问方法时出错:Spring Boot Application: No converter found for return value of type
http://blog.csdn.net/followshadow/article/details/54973112出错的原因是因为maven依赖的jar包没有json相关的jar包,需要引入相关json的jar包对象与JSON之间相互转换 --> com.fasterxml.jackson.core jackson-core 2.7.转载 2018-01-17 16:32:52 · 1817 阅读 · 1 评论 -
Spring Boot基础教程
Spring Boot基础教程 2017-04-04被围观 190651 次该教程内容不定时更新,如您对这些内容感兴趣,可以关注我的博客或微信公众号!本教程示例代码:GitHub:https://github.com/dyc87112/SpringBoot-Learning开源中国:http://git.oschina.net/didispace转载 2018-01-17 10:58:26 · 6154 阅读 · 0 评论