not find dependent dao, what is the reason , spring3 automatic annotation , why not find . code below
@ Repository ("customBlackListDao")
public class CustomBlackListDaoImpl extends GeneralDaoSupport
- what is the service called dao code
@ Service ("customBlackListService")
public class CustomBlackListServiceImpl implements CustomBlackListService {
@ Resource
private CustomBlackListDao customBlackListDao;
------ Solution ------------------------------------ --------
beans in xml there are no
------ For reference only ------------ ---------------------------
------ For reference only ------- --------------------------------
is to scan the package path problem , do not know when the hot-headed , was I get rid of the
没有评论:
发表评论