applicationContext.xml配置文件中里name出现了红色波浪线,测试后并报错
java.lang.IllegalStateException: Failed to load ApplicationContext
Bean property ‘XXX’ is not writable or has an invalid setter method
检查UserDaoImpl 后 发现只要加入set方法就能解决该问题
applicationContext.xml配置文件中里name出现了红色波浪线,测试后并报错
java.lang.IllegalStateException: Failed to load ApplicationContext
Bean property ‘XXX’ is not writable or has an invalid setter method
检查UserDaoImpl 后 发现只要加入set方法就能解决该问题