摘要:
yml或者properties文件没有被扫描到,需要在pom文件中<build></build>添加如下内容来保证文件都能正常被扫描到并且加载成功。 <resources> <resource> <directory>src/main/java</directory> <includes> <inc 阅读全文
yml或者properties文件没有被扫描到,需要在pom文件中<build></build>添加如下内容来保证文件都能正常被扫描到并且加载成功。 <resources> <resource> <directory>src/main/java</directory> <includes> <inc 阅读全文
posted @ 2023-07-08 09:41
残城碎梦
阅读(1337)
评论(0)
推荐(0)

添加test依赖: <!-- starter-test:junit + spring-test + mockito --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter
Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found character '@' that cannot start any token. (Do not use
浙公网安备 33010602011771号