映射不成功
java.lang.RuntimeException: Cannot instantiate object of type tk.mybatis.mapper.generator.MapperPlugin
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 com.imooc.utils.GeneratorDisplay.generator(GeneratorDisplay.java:25)
at com.imooc.utils.GeneratorDisplay.main(GeneratorDisplay.java:32)
Caused by: java.lang.ClassNotFoundException: tk.mybatis.mapper.generator.MapperPlugin
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.mybatis.generator.internal.ObjectFactory.internalClassForName(ObjectFactory.java:150)
at org.mybatis.generator.internal.ObjectFactory.createInternalObject(ObjectFactory.java:180)
... 6 more