Re: spring boot application cannot start

"Oliver B. Fischer" <[email protected]> Fri, 3 Apr 2020 11:26:33 +0200
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4261241119660059304==
Content-Type: multipart/alternative;
 boundary="------------B9E92A7623B05DFA98161250"

This is a multi-part message in MIME format.
--------------B9E92A7623B05DFA98161250
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

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_kenny-9Onoh4P/[email protected]
>
> <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<[email protected]>
> <mailto:[email protected]> 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_kenny-9Onoh4P/[email protected]
>>
>>     <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
>>     [email protected]
>>     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 [email protected] 
>     S oliver.b.fischer
>     J oliver.b.fischer-/[email protected]
>     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 [email protected] 
S oliver.b.fischer
J oliver.b.fischer-/[email protected]
X http://xing.to/obf


--------------B9E92A7623B05DFA98161250
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi 方垚,<br>
    </p>
    <p>because the resources section is a part of the configuration of
      the Maven resources plugin, which is responsible for copying and
      filtering resources.</p>
    <p>=&gt; <a class="moz-txt-link-freetext" href="http://maven.apache.org/plugins/maven-resources-plugin/">http://maven.apache.org/plugins/maven-resources-plugin/</a></p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 02.04.20 um 12:12 schrieb 方垚:<br>
    </div>
    <blockquote type="cite"
      cite="mid:43ab21ef.a4c3.1713a60553b.Coremail.fy_kenny-9Onoh4P/[email protected]">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
      <div style="font-family:微软雅黑,Verdana,&quot;Microsoft
        Yahei&quot;,SimSun,sans-serif;font-size:14px; line-height:1.6;">
        <div>
          <div>
            <div style="color: rgb(49, 53, 59); font-family: 微软雅黑,
              Verdana, 'Microsoft Yahei', SimSun, sans-serif;
              line-height: 22.4px;">Hi Oliver</div>
            <div style="color: rgb(49, 53, 59); font-family: 微软雅黑,
              Verdana, 'Microsoft Yahei', SimSun, sans-serif;
              line-height: 22.4px;">Thank you reply so much.</div>
            <div style="color: rgb(49, 53, 59); font-family: 微软雅黑,
              Verdana, 'Microsoft Yahei', SimSun, sans-serif;
              line-height: 22.4px;">in fact, I have resolved the build.
              but I still confuse it throw exception when I add <font
                color="#ff4312">red </font>block</div>
            <div style="color: rgb(49, 53, 59); font-family: 微软雅黑,
              Verdana, 'Microsoft Yahei', SimSun, sans-serif;
              line-height: 22.4px;">
              <pre style="font-family: Consolas; font-size: 9.8pt; background-color: rgb(255, 255, 255);"><span style="background-color: rgb(239, 239, 239);">&lt;</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">build</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>
        <span style="background-color: rgb(239, 239, 239);">&lt;</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">plugins</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>
            <span style="background-color: rgb(239, 239, 239);">&lt;</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">plugin</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>
                <span style="background-color: rgb(239, 239, 239);">&lt;</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">groupId</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>org.springframework.boot<span style="background-color: rgb(239, 239, 239);">&lt;/</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">groupId</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>
                <span style="background-color: rgb(239, 239, 239);">&lt;</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">artifactId</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>spring-boot-maven-plugin<span style="background-color: rgb(239, 239, 239);">&lt;/</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">artifactId</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>
            <span style="background-color: rgb(239, 239, 239);">&lt;/</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">plugin</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>
        <span style="background-color: rgb(239, 239, 239);">&lt;/</span><span style="color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">plugins</span><span style="background-color: rgb(239, 239, 239);">&gt;</span></pre>
              <pre style="font-family: Consolas; font-size: 9.8pt; background-color: rgb(255, 255, 255);"><pre style="font-family: Consolas; font-size: 9.8pt;"><font color="#ff4312">        <span style="background-color: rgb(239, 239, 239);">&lt;</span><span style="font-weight: bold; background-color: rgb(239, 239, 239);">resources</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>
            <span style="background-color: rgb(239, 239, 239);">&lt;</span><span style="font-weight: bold; background-color: rgb(239, 239, 239);">resource</span><span style="background-color: rgb(239, 239, 239);">&gt;</span>

            <span style="background-color: rgb(239, 239, 239);">&lt;/</span><span style="font-weight: bold; background-color: rgb(239, 239, 239);">resource</span><span style="background-color: rgb(239, 239, 239);">&gt;</span><span style="font-style: italic;">
</span><span style="font-style: italic;">        </span><span style="background-color: rgb(239, 239, 239);">&lt;/</span><span style="font-weight: bold; background-color: rgb(239, 239, 239);">resources</span><span style="background-color: rgb(239, 239, 239);">&gt;</span></font></pre><pre style="font-family: Consolas; font-size: 9.8pt;"><span style="font-size: 9.8pt; line-height: 1.6; background-color: rgb(239, 239, 239);">&lt;/</span><span style="font-size: 9.8pt; line-height: 1.6; color: rgb(0, 0, 128); font-weight: bold; background-color: rgb(239, 239, 239);">build</span><span style="font-size: 9.8pt; line-height: 1.6; background-color: rgb(239, 239, 239);">&gt;</span></pre></pre>
            </div>
            <div style="color: rgb(49, 53, 59); font-family: 微软雅黑,
              Verdana, 'Microsoft Yahei', SimSun, sans-serif;
              line-height: 22.4px;">Do you have any other mind?</div>
            <span> </span> </div>
          <div> <span> <br>
            </span> </div>
          <div id="ntes-pcmac-signature" style="font-family:'微软雅黑'">
            <div style="font-size:14px; padding: 0;
              margin:0;line-height:14px;">
              <div
                style="padding-bottom:6px;margin-bottom:10px;border-bottom:1px
                solid #e6e6e6;display:inline-block;"> <a
href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&amp;name=%E6%96%B9%E5%9E%9A&amp;uid=fy_kenny%40163.com&amp;iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&amp;items=%5B%22fy_kenny%40163.com%22%5D"
                  style="display:block;background:#fff; max-width:
                  400px; _width: 400px;padding:15px 0 10px
                  0;text-decoration: none;
outline:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none
                  !important;text-size-adjust:none !important;"
                  moz-do-not-send="true">
                  <table style="width: 100%; max-width: 100%;
                    table-layout: fixed; border-collapse:
                    collapse;color: #9b9ea1;font-size:
                    14px;line-height:1.3;-webkit-text-size-adjust:none
                    !important;text-size-adjust:none !important;"
                    cellpadding="0">
                    <tbody style="font-family: 'PingFang SC', 'Hiragino
                      Sans GB','WenQuanYi Micro Hei', 'Microsoft Yahei',
                      '微软雅黑', verdana !important; word-wrap:break-word;
                      word-break:break-all;-webkit-text-size-adjust:none
                      !important;text-size-adjust:none !important;">
                      <tr>
                        <td style="padding:0; box-sizing: border-box;
                          width: 38px;" width="38"> <img
                            style="vertical-align:middle; width: 38px;
                            height: 38px; border-radius:50%;"
                            src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png"
                            moz-do-not-send="true" width="38"
                            height="38"> </td>
                        <td style="padding: 0 0 0 10px; color: #31353b;">
                          <div style="font-size: 16px;font-weight:bold;
                            width:100%; white-space: nowrap;
                            overflow:hidden;text-overflow: ellipsis;">方垚</div>
                        </td>
                      </tr>
                      <tr width="100%" style="font-size: 14px
                        !important; width: 100%;">
                        <td colspan="2" style="padding:10px 0 0 0;
                          font-size:14px !important; width: 100%;">
                          <div style="width: 100%;font-size: 14px
                            !important;word-wrap:break-word;word-break:break-all;">fy_kenny-9Onoh4P/[email protected]</div>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </a> </div>
            </div>
            <div style="font-size:12px;color:#b5b9bd;line-height:18px;">
              <span>签名由</span> <a style="text-decoration:
                none;color:#4196ff;padding:0 5px;"
                href="https://mail.163.com/dashi/dlpro.html?from=mail81"
                moz-do-not-send="true">网易邮箱大师</a> <span>定制</span> </div>
          </div>
        </div>
        <div class="J-reply"
style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';">
          <div
style="font-size:12px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On
            <span class="mail-date">4/2/2020 15:22</span>,<a
              class="mail-to"
              style="text-decoration:none;color:#2a83f2;"
              href="mailto:[email protected]"
              moz-do-not-send="true">Oliver B.
              Fischer&lt;[email protected]&gt;</a> wrote: </div>
        </div>
        <blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0;
          font-size: 14px; font-family: '微软雅黑';">
          <p>Hi,</p>
          <p>this seems to be a problem of you build. '<span>project.artifactId'
              is a Maven property. I think it was intended to replace @</span><span><span>project.artifactId@
                with its actual value during a Maven run. It seems so
                that you use the unprocessed application.yaml with the
                placeholder. <br>
              </span></span></p>
          <p><span><span>Please check your build and IDE setup.</span></span></p>
          <p><span><span>Oliver<br>
              </span></span></p>
          <div class="moz-cite-prefix">Am 02.04.20 um 05:29 schrieb 方垚:<br>
          </div>
          <blockquote type="cite"
            cite="mid:6b7e4add.75bd.17138ef9634.Coremail.fy_kenny-9Onoh4P/[email protected]">
            <style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
            <div style="font-family:微软雅黑,Verdana,&quot;Microsoft
              Yahei&quot;,SimSun,sans-serif;font-size:14px;
              line-height:1.6;">
              <div>
                <div> <span>
                    <div>Caused by:
                      org.yaml.snakeyaml.scanner.ScannerException: while
                      scanning for the next token</div>
                    <div>found character '@' that cannot start any
                      token. (Do not use @ for indentation)</div>
                    <div> in 'reader', line 3, column 11:</div>
                    <div>        name: @project.artifactId@</div>
                  </span> </div>
                <div> <span> <br>
                  </span> </div>
                <div style="font-family:'微软雅黑'">
                  <div style="font-size:14px; padding: 0;
                    margin:0;line-height:14px;">
                    <div
                      style="padding-bottom:6px;margin-bottom:10px;border-bottom:1px
                      solid #e6e6e6;display:inline-block;"> <a
href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&amp;name=%E6%96%B9%E5%9E%9A&amp;uid=fy_kenny%40163.com&amp;iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&amp;items=%5B%22fy_kenny%40163.com%22%5D"
                        style="display:block;background:#fff; max-width:
                        400px; _width: 400px;padding:15px 0 10px
                        0;text-decoration: none;
outline:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none
                        !important;text-size-adjust:none !important;"
                        moz-do-not-send="true">
                        <table style="width: 100%; max-width: 100%;
                          table-layout: fixed; border-collapse:
                          collapse;color: #9b9ea1;font-size:
                          14px;line-height:1.3;-webkit-text-size-adjust:none
                          !important;text-size-adjust:none !important;"
                          cellpadding="0">
                          <tbody style="font-family: 'PingFang SC',
                            'Hiragino Sans GB','WenQuanYi Micro Hei',
                            'Microsoft Yahei', '微软雅黑', verdana
                            !important; word-wrap:break-word;
                            word-break:break-all;-webkit-text-size-adjust:none
                            !important;text-size-adjust:none
                            !important;">
                            <tr class="firstRow">
                              <td style="padding:0; box-sizing:
                                border-box; width: 38px;" width="38"> <img
                                  style="vertical-align:middle; width:
                                  38px; height: 38px;
                                  border-radius:50%;"
                                  src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png"
                                  moz-do-not-send="true" width="38"
                                  height="38"> </td>
                              <td style="padding: 0 0 0 10px; color:
                                #31353b;">
                                <div style="font-size:
                                  16px;font-weight:bold; width:100%;
                                  white-space: nowrap;
                                  overflow:hidden;text-overflow:
                                  ellipsis;">方垚</div>
                              </td>
                            </tr>
                            <tr width="100%" style="font-size: 14px
                              !important; width: 100%;">
                              <td colspan="2" style="padding:10px 0 0 0;
                                font-size:14px !important; width: 100%;">
                                <div style="width: 100%;font-size: 14px
!important;word-wrap:break-word;word-break:break-all;">fy_kenny-9Onoh4P/[email protected]</div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </a> </div>
                  </div>
                  <div
                    style="font-size:12px;color:#b5b9bd;line-height:18px;">
                    <span>签名由</span> <a style="text-decoration:
                      none;color:#4196ff;padding:0 5px;"
                      href="https://mail.163.com/dashi/dlpro.html?from=mail81"
                      moz-do-not-send="true">网易邮箱大师</a> <span>定制</span>
                  </div>
                </div>
              </div>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <pre class="moz-quote-pre" wrap="">_______________________________________________
Yaml-core mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]" moz-do-not-send="true">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/yaml-core" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/yaml-core</a>
</pre>
          </blockquote>
          <pre class="moz-signature" cols="72">-- 
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538 
E <a class="moz-txt-link-abbreviated" href="mailto:[email protected]" moz-do-not-send="true">[email protected]</a> 
S oliver.b.fischer
J <a class="moz-txt-link-abbreviated" href="mailto:oliver.b.fischer-/[email protected]" moz-do-not-send="true">oliver.b.fischer-/[email protected]</a>
X <a class="moz-txt-link-freetext" href="http://xing.to/obf" moz-do-not-send="true">http://xing.to/obf</a>
</pre>
        </blockquote>
        <!--😀-->
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538 
E <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> 
S oliver.b.fischer
J <a class="moz-txt-link-abbreviated" href="mailto:oliver.b.fischer-/[email protected]">oliver.b.fischer-/[email protected]</a>
X <a class="moz-txt-link-freetext" href="http://xing.to/obf">http://xing.to/obf</a>
</pre>
  </body>
</html>

--------------B9E92A7623B05DFA98161250--


--===============4261241119660059304==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4261241119660059304==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core

--===============4261241119660059304==--