<!-- 配置生成器 -->
<generatorConfiguration>

<properties resource="mybatis/jdbc.properties"/>

<context >

<!--覆盖生成XML文件-->
<plugin type="org.mybatis.generator.plugins.UnmergeableXmlMappersPlugin" />

<!-- 不生成注释 -->
<commentGenerator>
<property name="suppressAllComments" value="true"/>
</commentGenerator>

... ...

<generatorConfiguration>

 

https://github.com/mybatis/generator/issues?utf8=%E2%9C%93&q=overwrite    这个plugin可以解决这个问题,版本是1.3.7

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2021-12-28
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-28
  • 2022-12-23
  • 2021-05-11
  • 2021-08-25
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案