Property 'sqlMapClient' is required
继承SqlMapClientDaoSupport类的类里面添加如下代码
@Resource(name = "sqlMapClient") private SqlMapClient sqlMapClient; @PostConstruct public void initSqlMapClient(){ super.setSqlMapClient(sqlMapClient); }
继承SqlMapClientDaoSupport类的类里面添加如下代码
@Resource(name = "sqlMapClient") private SqlMapClient sqlMapClient; @PostConstruct public void initSqlMapClient(){ super.setSqlMapClient(sqlMapClient); }