Mapped Statements collection does not contain value for com.atsig.uac.persistence.AccountMapper.getAllAccounts

Exception in thread "main" java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for com.atsig.uac.persistence.AccountMapper.getAllAccounts
    at org.apache.ibatis.session.Configuration$StrictMap.get(Configuration.java:593)
    at org.apache.ibatis.session.Configuration.getMappedStatement(Configuration.java:393)
    at org.apache.ibatis.binding.MapperMethod.setupCommandType(MapperMethod.java:160)
    at org.apache.ibatis.binding.MapperMethod.<init>(MapperMethod.java:48)
    at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:37)
    at $Proxy6.getAllAccounts(Unknown Source)
    at com.atsig.uac.dao.AccountServiceDao.getAllAccounts(AccountServiceDao.java:28)

 

 

解决办法:namespace 不正确,检查namespace。

你可能感兴趣的:(thread,exception)