The solution
This can be resolved by adding the following information to the pom.xml
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<exclude>**/*.woff</exclude>
<exclude>**/*.woff2</exclude>
<exclude>**/*.ttf</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<includes>
<include>**/*.woff</include>
<include>**/*.woff2</include>
<include>**/*.ttf</include>
</includes>
</resource>
</resources>
</build>
div>
Read More:
- CSS Failed to decode downloaded font, OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
- springboot : Failed to decode downloaded font 和 OTS parsing error
- An error is reported during Java operation due to the problem of static resource export
- After Vue is packaged, a blank page appears, an error is reported in the resource request, and there is no error handling scheme
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- Error reported using layui $is not defined
- The total row of the Element table entry page is not displayed
- An error is displayed when virtualbox uses modifyhd command to expand capacity: Resize medium operation for this format is not implemented yet
- After Java application is deployed in Linux environment, Chinese is displayed as square solution
- An error is reported when logging into mysql. The error message is error 1049 (42000): unknown database ‘XXXXXX’
- An error is reported when passing data pages using Ajax: Vue is not defined
- An error is reported when executing MVN. The diamond operator is not supported in source-1.5
- Message: failed to decode response from marionette
- When installing pyaudio, an error is reported: failed error: portaudio. H: there is no such file or directory
- Syntax error: typeerror: this.getoptions is not a function an error is reported when the. SCSS file is imported globally
- An error is reported when the laptop is turned on: image failed to verify with * access denied* press any key to continue
- An error of 500 is reported when an item is assigned to a role
- How to Fix Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- The Vue project is packaged and deployed to tomcat, and an Error 404 is reported as soon as it is refreshed
- An error is reported when Clickhouse is started. The error log information is: structure needs cleaning