继承“HibernateDaoSupport”后,报“The hierarchy of the type AccoutDaoImpl is inconsistent”的解决方案

解决办法:
今天写了一段很简单的代码,Eclipse竟然报错

import org.springframework.jdbc.core.support.JdbcDaoSupport;  

import com.rainbow.springdemo.dao.AccountDao;  

public class AccoutDaoImpl extends JdbcDaoSupport implements AccountDao {  

    @Override  
    public void outMoney(String out, Double money) {  

    }  

    @Override  
    public void inMoney(String in, Double money) {  

    }  
}  

<dependency>
    <groupId>org.springframeworkgroupId>
    <artifactId>spring-beansartifactId>
    <version>4.3.9.RELEASEversion>
dependency>

你可能感兴趣的:(spring)