an><span class="token function">addResourceLocations</span><span class="token punctuation">(</span><span class="token string">&quot;classpath*:/META-INF/resources/webjars/&quot;</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
	<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre></div><p>或者</p> <div class="language-java extra-class"><pre class="language-java"><code>
<span class="token annotation punctuation">@SpringBootAppl