idea中SSM项目框架整合是出现一个问题

      public void saveCustomer(Customer customer) {
        System.out.println("来到业务层"+customer);

            customerMapper.insertCustomer(customer);

    }到业务层都是通的

        public interface CustomerMapper {

      public void insertCustomer(Customer customer);

}这是dao层

    mapper namespace="com.ztt.mapper.CustomerMapper">
     <insert id="insertCustomer">
     insert into  `customer`(cust_name,cust_profession,cust_phone,email)
        values (#{cust_name},#{cust_profession},#{cust_phone},#{email})
 </insert>
 这是mapper.xml文件里的

</mapper>


```![图片说明](https://img-ask.csdn.net/upload/201907/19/1563500559_256120.png)

https://blog.csdn.net/qq_28008917/article/details/79755935
https://blog.csdn.net/csolo/article/details/82794969

spring重复扫描
https://blog.csdn.net/haoyifen/article/details/51172647

https://blog.csdn.net/weixin_43094085/article/details/92017062
https://www.cnblogs.com/yanan7890/p/8743736.html
https://www.cnblogs.com/hapday/p/6406842.html
https://www.jb51.net/article/91954.htm
https://www.imooc.com/qadetail/150104