当前位置:网站首页>Invalid bound statement (not found)

Invalid bound statement (not found)

2022-06-25 05:49:00 Extremely hehe

About [Invalid bound statement (not found) The ultimate solution ]

Error reporting scenario

 Wechat screenshot _20220219161230.png

Project location

 Wechat screenshot _20220219161336.png

analysis

Here mine xml and map The files are put together , There's a problem here , I can't find mine when I start the class package scanning xml As a result of

Solution

Corresponding pom.xml Add the following

`

    <resource>
    
        <directory>src/main/java</directory><!-- directory -->
        
        <includes><!-- Including... In the directory .properties,.xml All the files will be scanned -->
        
            <include>**/*.properties</include>
            
            <include>**/*.xml</include>
            
        </includes>
        
        <filtering>false</filtering>
        
    </resource>
    
</resources>

`

原网站

版权声明
本文为[Extremely hehe]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202201256124773.html