浏览代码

修复无法直接获取类实例

zhouhao 8 年之前
父节点
当前提交
581494eb1b

+ 1 - 1
hsweb-commons/hsweb-commons-entity/src/main/java/org/hswebframework/web/commons/entity/factory/MapperEntityFactory.java

@@ -101,7 +101,7 @@ public class MapperEntityFactory implements EntityFactory {
             try {
                 realType = (Class<T>) Class.forName(simpleClassName);
             } catch (ClassNotFoundException e) {
-                throw new NotFoundException(e.getMessage());
+               // throw new NotFoundException(e.getMessage());
             }
         }
         if (!Modifier.isInterface(beanClass.getModifiers()) && !Modifier.isAbstract(beanClass.getModifiers())) {