我坚持使用我正在维护的独立 java 应用程序,我对 Maven 真的很陌生。我在命令行中使用复制依赖项、包插件和一切正常,但是当我在 Eclipse 中看到项目时,它验证了项目,似乎检查哪个 .xsd 版本应该考虑到问题。
说明资源路径位置类型 src-resolve:无法将名称“beans:identifiedType”解析为(n)“类型定义”组件。spring-jee-2.0.xsd
描述资源路径位置类型 src-resolve:无法将名称“beans:identifiedType”解析为(n)“类型定义”组件。spring-jee-2.5.xsd
我正在使用 spring 2.5.6,我无法升级。我不知道我是否必须在我的 Eclipse IDE 中设置一些东西。
我的配置文件是这样的:
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd">
有什么想法或建议吗?是否与项目中的问题或 Eclipse IDE 有关?
提前致谢