我在哪里可以找到@Inject jar [英] Where I can find @Inject jar
本文介绍了我在哪里可以找到@Inject jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在遵循 本网站,但我找不到 @Inject
注释的 jar.有人知道罐子在哪里吗?
I'm following the MVC unit test instructions from this site,
but I cannot find the jar for the @Inject
annotation. Does anybody know where the jar is?
推荐答案
通过 Maven:
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
或从项目主页:http://code.google.com/p/atinject/
此外,这个 MvnRepository.com 页面提供了必要的配置其他构建工具,如 Ivy、Gradle 等.
Also, this MvnRepository.com page provides the necessary configurations for other build tools like Ivy, Gradle etc.
这篇关于我在哪里可以找到@Inject jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文