Element 'configuration' cannot have character [children], because the type's content type is element-only.

整合springboot+mybatis时copy网上的配置,然后报错了。

 

 

<configuration>
       
  <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
<verbose>true</verbose>
<overwrite>true</overwrite>
</configuration>
百度了下说是去掉注释就可以了,试了试还是不行。 然后删除,自己手写了一下标签。发现可以了

posted @ 2021-06-11 17:46  奋斗的渣渣  阅读(207)  评论(0编辑  收藏  举报