Class.forName(className).newInstance() 需要类有一个默认的构造方法 转载于:https://www.cnblogs.com/xzf007/archive/2012/08/14/2873851.html