---恢复内容开始---
(1)java.lang.NoClassDefFoundError: org/springframework/transaction/interceptor/TransactionInterceptor
添加aopalliance-alpha1.jar
http://blog.csdn.net/sjzs5590/article/details/7348836
(2)org.springframework.beans.NotWritablePropertyException: Invalid property 'SqlSessionFatoryBeanNames' of bean class [org.mybatis.spring.mapper.MapperScannerConfigurer]: Bean property 'SqlSessionFatoryBeanNames' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
这种情况99%是属性名字没有写对
(3)java.lang.ClassNotFoundException: org.mybatis.spring.SqlSessionFatoryBean
有可能是自己所注册的class时候单词写错,也有可能是自己没有加载进去spring-mybatis.xml文件
(4)项目本来好好的无意间所有的import前面都有小红叉,就import java.io.UnsupportedEncodingException;前面没有小红叉,将其删除,则所有的import前面都没有小红叉了