摘要:
传统的使用new File()打成jar包会找不到文件,可以使用spring提供的ClassPathResource()类访问resources下的文件 ClassPathResource classPathResource = new ClassPathResource("status/xxx 阅读全文
posted @ 2021-03-29 16:38
敬敬不想造轮子
阅读(231)
评论(0)
推荐(0)
摘要:
org.springframework.boot spring-boot-maven-plugin <!--跳过测试--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</ 阅读全文
posted @ 2021-03-29 13:59
敬敬不想造轮子
阅读(542)
评论(0)
推荐(0)