In the spring boot project, I deleted a line of code because I was in debt. It took 2-3 hours to solve the problem. It is hereby recorded.
<!--The following resources are added later to specify the package file --> <resources> <resource> <directory>src/main/resources</directory> <!-- The resource root directory excludes the configuration of each environment to prevent redundant directories in the generated directory --> <filtering>true</filtering> <excludes> <exclude>application*.yml</exclude> </excludes> </resource> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>application.yml</include> <include>application-${profiles.active}.yml</include> </includes> </resource> </resources>
This <include> in application.yml It was deleted by me.
Similar Posts:
- [Solved] Mybatis Error: Invalid bound statement (not found)
- [Solved] Browser Error: Failed to decode downloaded font and OTS parsing error: Failed to convert *** font to ***
- [Solved] Springboot Error: invalid bound statement (not found)
- The project is normal in eclipse, and an error is reported in IDEA [How to Solve]
- MyBatis Error: Error building SqlSession [How to Solve]
- YUI Compressor Maven: Compressing and obfuscating JavaScript and CSS files
- [Solved] Could not find resource com/cth/dao/UserImpl.xml & Single mapping file not found
- [Solved] Mybatis Error: Invalid bound statement (not found)
- [Solved] Mybatis: the binding mapper cannot be found Error: Org.apache.ibatis.binding.bindingexception: invalid bound statement (not found)
- [Solved] Springboot Project mybatis Error: Invalid bound statement (not found)