报错:-Djava.ext.dirs=./lib is not supported. Use -classpath instead.
完整信息如下:
-Djava.ext.dirs=./lib is not supported. Use -classpath instead.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error: mybatis generate failed
其实这是java9不支持-Djava.ext.dirs导致的,我是因为本地的java8环境被改成了java11导致的