王同学爱学习 2018-05-18 03:15 采纳率: 0%
浏览 1673
已结题

generator集成maven插件时报Root class cannot be loaded

问题:Root class cannot be loaded, checking for member overrides is disabled
使用工具为intelli idea 在使用generator集成maven插件时设置rootClass无法达到预期效果(子类没有根据父类中的字段内容去生成实体),实体类是可以正常生成的。但控制台报 Root class cannot be loaded, checking for member overrides is disable,
有一篇国外的论坛讨论过这个问题,思路似乎很正确,但我无法get到的操作,
国外论坛地址:http://mybatis-user.963551.n3.nabble.com/mybatis-generator-Root-class-xxx-cannot-be-loaded-td3576094.html
国内的论坛中许多文章都是忽略这个问题的。
有解决过这个问题的人么。希望提供帮助,万分感谢!

  • 写回答

2条回答 默认 最新

  • qq_35126159 2018-05-18 07:21
    关注

    将EntityBase打包在maven项目中 ,将项目添加到生成器任务的依赖项中

    评论

报告相同问题?