From: Oliver B. F. <o.b...@sw...> - 2020-04-03 09:26:44
|
Hi 方垚, because the resources section is a part of the configuration of the Maven resources plugin, which is responsible for copying and filtering resources. => http://maven.apache.org/plugins/maven-resources-plugin/ Am 02.04.20 um 12:12 schrieb 方垚: > 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... > > <https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=%E6%96%B9%E5%9E%9A&uid=fy_kenny%40163.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22fy_kenny%40163.com%22%5D> > > 签名由 网易邮箱大师 <https://mail.163.com/dashi/dlpro.html?from=mail81> > 定制 > On 4/2/2020 15:22,Oliver B. Fischer<o.b...@sw...> > <mailto: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... >> >> <https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=%E6%96%B9%E5%9E%9A&uid=fy_kenny%40163.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22fy_kenny%40163.com%22%5D> >> >> 签名由 网易邮箱大师 >> <https://mail.163.com/dashi/dlpro.html?from=mail81> 定制 >> >> >> _______________________________________________ >> 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 > -- 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 |