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:
- How to Fix Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- The java.lang.exceptionininitializererror of mybatis reports an error
- An error is reported during Java operation due to the problem of static resource export
- Failure of spring boot configuration server port
- How to Fix Invalid bound statement (not found) Error
- Invalid bound statement (not found) of custom SQL in mybatisplus
- Mapped Statements collection does not contain value for XXXX
- How to Fix The error may exist in com/kuang/dao/UserMapper.xml
- [Solved] org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.zyh.springboot.
- Related configuration of mybatis project
- Solution to the problem of installing lxml in Pip
- How to Fix Error: JavaFX cannot find fxml
- Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build Exception caught: basedir src/mai
- springboot : Failed to decode downloaded font 和 OTS parsing error
- The uni app references the vant component and reports an error unclosed bracket when compiling
- Post build event after VC generation
- The solution of Android package error
- CSS Failed to decode downloaded font, OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
- After Java application is deployed in Linux environment, Chinese is displayed as square solution