关于:
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
错误的原因是 spring bean 引用文件的版本可能和下面所用到的配置不一致导致,直接把 spring-bean 的版本更改为上面显示的 4.3 的版本即可如下图: