Spring 胸腺嘧啶和弹簧靴的图像不可见

Spring 胸腺嘧啶和弹簧靴的图像不可见,spring,spring-boot,thymeleaf,Spring,Spring Boot,Thymeleaf,我正在使用带弹簧靴的thymeleaf。我尝试使用th:src显示图像,但它不可见。我已将图像保存在/resources/static/images文件夹中(我正在使用STS)。有人能提出一个可能的原因吗??下面是一些代码: <div class="featurette"> <img class="featurette-image pull-right" th:src="@{/images/browser-icon-chrome.png}" />

我正在使用带弹簧靴的thymeleaf。我尝试使用th:src显示图像,但它不可见。我已将图像保存在/resources/static/images文件夹中(我正在使用STS)。有人能提出一个可能的原因吗??下面是一些代码:

<div class="featurette">
        <img class="featurette-image pull-right" th:src="@{/images/browser-icon-chrome.png}" />
        <h2 class="featurette-heading">First featurette headling. <span class="muted">It'll blow your mind.</span></h2>
        <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper.
            Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>
    </div>

第一个特辑头饰。这会让你大吃一惊的。

Donec ullamcorper nulla非梅特斯拍卖商弗林斯利亚。猫门前庭舌骨。 这是一个伟大的共产主义者。这是一个很好的例子


粘贴保存图像的目录结构的屏幕截图。@Alien。。。。donego转到浏览器控制台,并检查“网络”选项卡中未找到图像的url,它正试图从中获取图像。我检查过,url为localhost:8080/images/browser-icon-chrome.png。。。。所以我甚至试着在img标签中将url改为/static/images/browser-icon-chrome.png和/resources/static/images/browser-icon-chrome.png,但没有什么不同。嘿,你能想出办法吗???这不仅仅是图像url,事实上,所有url都会出现这种情况,即使我尝试从本地jar中引用引导css文件,它也不会应用它,但当我提到绝对web链接时,它会应用它。