java.lang.RuntimeException: Cannot instantiate object of type org.mybatis.generator.plugins.page.Pag

逆向工程报错

java.lang.RuntimeException: Cannot instantiate object of type org.mybatis.generator.plugins.page.PaginationPlugin
    at org.mybatis.generator.internal.ObjectFactory.createInternalObject(ObjectFactory.java:184)
    at org.mybatis.generator.internal.ObjectFactory.createPlugin(ObjectFactory.java:221)
    at org.mybatis.generator.config.Context.generateFiles(Context.java:491)
    at org.mybatis.generator.api.MyBatisGenerator.generate(MyBatisGenerator.java:234)
    at org.mybatis.generator.api.MyBatisGenerator.generate(MyBatisGenerator.java:133)
    at GeneratorSqlmap.generator(GeneratorSqlmap.java:24)
    at GeneratorSqlmap.main(GeneratorSqlmap.java:30)
Caused by: java.lang.ClassNotFoundException: org.mybatis.generator.plugins.page.PaginationPlugin
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.mybatis.generator.internal.ObjectFactory.internalClassForName(ObjectFactory.java:150)
    at org.mybatis.generator.internal.ObjectFactory.createInternalObject(ObjectFactory.java:180)
    ... 6 more

因为初学,是导的其他的工程,发现这里有这个问题

generatorConfig.xml文件

       
        
        
        

我根据这个路径没有找到这两个类

java.lang.RuntimeException: Cannot instantiate object of type org.mybatis.generator.plugins.page.Pag_第1张图片

请大家帮帮忙,这种情况应该怎么处理啊?

你可能感兴趣的:(maven项目)