解决报错的时间较长 ,三小时左右
原因:
(1)是没有认真看报错信息。以为这个就是自己之前改过的错误,自己一定能解决好,不用怎么看报错信息
(2)对控制台报错熟悉
(3)对idea和整体运行过程不熟悉
添加:
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>/.properties</include>
<include>/.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
继续添加
<resource>
<directory>src/main/resources</directory>
<includes>
<include>/.properties</include>
<include>/.xml</include>
<include>/.tld</include>
<include>/.jsp</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.tld</include>
</includes>
<filtering>true</filtering>
</resource>
依旧错误
试图了解添加的详细内容
最后打开mapper查看文件后缀名发现mapper不是xml形式
重新使用插件生成mapper文件,成功运行
信息:
Invalid bound statement (not found):