![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
文章平均质量分 67
supersolon
这个作者很懒,什么都没留下…
展开
-
jar包部署到生产环境读取不到resources下的文件
jar包部署读取不到resources下的文件情景:idea下启动服务,正常读取。打成jar包部署到生产环境读取不到文件,报错。目录结构:bug信息:出现异常啦:file:/data/service/app/dsc/dsc-be-1.0-SNAPSHOT.jar!/BOOT-INF/classes!/sql/insertSql.txt (Is a directory),异常发生地: at java.io.FileInputStream.open0(Native Method).原创 2021-07-23 09:27:55 · 4313 阅读 · 1 评论 -
从零搭建微服务SpringCloud Hoxton.SR8 + Spring Boot 2.3.2.RELEASE
JDK:1.8maven: 3.8.1Spring Boot: 2.3.2.RELEASESpring Cloud: Hoxton.SR8Spring Cloud Alibaba: 2.2.5.RELEASE开发工具: IntelliJ IDEA 2021.1x64系统: Windows 10Spring Boot、 Cloud、Cloud Alibaba三者对应的关系:Spring Cloud 基于 Spring BootSpring Cloud Alibaba...原创 2021-06-08 17:28:11 · 2548 阅读 · 16 评论