如何使用 maven2 和 eclipse 添加 apache commons 日志记录?

发布于 2024-08-21 05:39:10 字数 83 浏览 6 评论 0原文

使用 eclipse w/maven2 插件时,我似乎找不到 apache 常见日志记录。

显然我需要它用于 spring3 mvc 。

I can't seem to find apache common logging when using eclipse w/maven2 plugin.

I need it for spring3 mvc apparently.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤城病女 2024-08-28 05:39:10

您是否知道 m2eclipse 插件可以搜索一些索引存储库,例如 central?例如,如果您右键单击您的项目并转到Maven >添加依赖,你可以像这样使用它:

替代文字

这会将其添加到您的 pom 中:

<dependency>
  <groupId>commons-logging</groupId>
  <artifactId>commons-logging</artifactId>
  <version>1.1.1</version>
</dependency>

另一种选择是使用 众多 之一存储库 搜索引擎

http://search.maven.org/ #artifactdetails|commons-logging|commons-logging|1.1.1|jar

Do you know that the m2eclipse plugin can search some indexed repositories, like central? For example, if you right-click on your project and go to Maven > Add Dependency, you can use it like this:

alt text

And this will add this to your pom:

<dependency>
  <groupId>commons-logging</groupId>
  <artifactId>commons-logging</artifactId>
  <version>1.1.1</version>
</dependency>

Another option is to use one of the numerous repository search engine, for example:

http://search.maven.org/#artifactdetails|commons-logging|commons-logging|1.1.1|jar

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文