could not initialize proxy

只需要把关联类配置lazy='false',也就是立即加载

例如:

public class stu{

  private int stuid;

}

public class score{

   private stu s;

}

stu.cfg.xml把lazy='false'

原文地址:https://www.cnblogs.com/danmao/p/4141830.html