03 2021 档案
摘要: 传统的使用new File()打成jar包会找不到文件,可以使用spring提供的ClassPathResource()类访问resources下的文件 ClassPathResource classPathResource = new ClassPathResource("status/xxx
阅读全文
摘要:org.springframework.boot spring-boot-maven-plugin <!--跳过测试--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</
阅读全文

浙公网安备 33010602011771号