Missing artifact log4j: log4j: jar: 1.2.15: Compile

Source: Internet
Author: User

When using Maven to build a hadoop application:

Missing artifact log4j: log4j: jar: 1.2.15: Compile

In Pom. XML, the configuration is

<Dependency> <groupid> log4j </groupid> <artifactid> log4j </artifactid> <version> 1.2.15 </version> </dependency>

The reason is that log4j has changed the protocol in version 1.2.15 and later, which is in conflict with JMS. There are two solutions: Version 1.2.14 and JMS. jar are manually downloaded and installed in the maven local repository.

So you can change it:

<Dependency> <groupid> log4j </groupid> <artifactid> log4j </artifactid> <version> 1.2.14 </version> </dependency>








This article from the "Dream think Xi" blog, please be sure to keep this source http://qiangmzsx.blog.51cto.com/2052549/1561095

Missing artifact log4j: log4j: jar: 1.2.15: Compile

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.