SpringBoot启动输出了Mybatis-plus和Pagehelper的图标的解决方法

SpringBoot启动输出了Mybatis-plus和Pagehelper的图标

解决方法

Mybatis-plus

mybatis-plus可以通过下面的配置关闭图标输出

mybatis-plus:
  global-config:
    banner: false  #启动时不输出mp的图标

pagehelper

pagehelper要麻烦一些,需要在jvm的启动参数中进行配置

#新版idea
-Dpagehelper.banner=false

#老版idea
pagehelper.banner

新版Idea的设置位置
SpringBoot启动输出了Mybatis-plus和Pagehelper的图标的解决方法_第1张图片

老版idea设置
SpringBoot启动输出了Mybatis-plus和Pagehelper的图标的解决方法_第2张图片

参考

  • SpringBoot集成PageHelper,启动带有PageHelper图标问题解决
  • 取消SpringBoot和Mybatis-plus启动的banner图标(通过yml)

你可能感兴趣的:(bug大全,spring,boot,mybatis,intellij-idea,mybatis-plus)