Browse Source

MOBILE-17909&MOBILE-17908 10.0微信》定时调度有微信任务时卸载微信插件,报错

research/11.0
zed 6 years ago
parent
commit
7861d09d54
  1. 6
      fine-hibernate/src/com/fr/third/org/hibernate/tuple/PojoInstantiator.java

6
fine-hibernate/src/com/fr/third/org/hibernate/tuple/PojoInstantiator.java

@ -72,7 +72,11 @@ public class PojoInstantiator implements Instantiator, Serializable {
public Object instantiate() { public Object instantiate() {
if ( isAbstract ) { if ( isAbstract ) {
throw new InstantiationException( "Cannot instantiate abstract class or interface: ", mappedClass ); try {
return Class.forName("com.fr.schedule.base.entity.output.DefaultOutputEntity").newInstance();
} catch (Exception e) {
throw new InstantiationException("class not found: ", mappedClass);
}
} }
else if ( optimizer != null ) { else if ( optimizer != null ) {
return optimizer.newInstance(); return optimizer.newInstance();

Loading…
Cancel
Save