how do I add apache commons logging using the maven2 with eclipse?

后端 未结 1 1235
生来不讨喜
生来不讨喜 2021-01-05 05:20

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

I need it for spring3 mvc apparently.

1条回答
  •  南方客
    南方客 (楼主)
    2021-01-05 05:53

    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:

    And this will add this to your pom:

    
      commons-logging
      commons-logging
      1.1.1
    
    

    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

    0 讨论(0)
提交回复
热议问题