From: 方垚 <fy_...@16...> - 2020-04-02 10:12:16
|
Hi Oliver Thank you reply so much. in fact, I have resolved the build. but I still confuse it throw exception when I add red block <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> <resources> <resource> </resource> </resources> </build> Do you have any other mind? | | 方垚 | | fy_...@16... | 签名由网易邮箱大师定制 On 4/2/2020 15:22,Oliver B. Fischer<o.b...@sw...> wrote: Hi, this seems to be a problem of you build. 'project.artifactId' is a Maven property. I think it was intended to replace @project.artifactId@ with its actual value during a Maven run. It seems so that you use the unprocessed application.yaml with the placeholder. Please check your build and IDE setup. Oliver Am 02.04.20 um 05:29 schrieb 方垚: Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found character '@' that cannot start any token. (Do not use @ for indentation) in 'reader', line 3, column 11: name: @project.artifactId@ | | 方垚 | | fy_...@16... | 签名由网易邮箱大师定制 _______________________________________________ Yaml-core mailing list Yam...@li...https://lists.sourceforge.net/lists/listinfo/yaml-core -- N Oliver B. Fischer A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany P +49 30 44793251 M +49 178 7903538 E o.b...@sw... S oliver.b.fischer J oli...@ja... X http://xing.to/obf |