Error type: java.lang.ClassCastException: com.sun.proxy.$Proxy25 cannot be cast to com.itbaizhan.dao.UserDao
Solution: UseDao should be an interface type instead of an implementation class type.
Method: Add <aop:aspectj-autoproxy proxy-target-class="true"></aop:aspectj-autoproxy> in the configuration file.xml