【发布时间】:2012-04-19 07:52:17
【问题描述】:
Eclipse 无法识别我的 JSF-Apache Myfaces/Spring/Hibernate 项目中的 @Inject。
我正在尝试在 setter 方法上使用它来注入对我在 Spring 容器中注册为 @Component、@SessionScoped 的类的引用。
什么给了?我的 POM 中似乎定义了最新版本的 Spring。
【问题讨论】:
标签: spring pom.xml inject autowired
Eclipse 无法识别我的 JSF-Apache Myfaces/Spring/Hibernate 项目中的 @Inject。
我正在尝试在 setter 方法上使用它来注入对我在 Spring 容器中注册为 @Component、@SessionScoped 的类的引用。
什么给了?我的 POM 中似乎定义了最新版本的 Spring。
【问题讨论】:
标签: spring pom.xml inject autowired