When using log4j 1.2.15, I have some errors in downloading some other jars. When using log4j 1.2.16, everything is fine. Anyone know why?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
oops, I’ve misread the question.
Updated answer
Seems like log4j 1.2.15 has weird dependencies on some of the other artifacts not available in public repository. So you get an error. Please exclude them. I would strongly suggest you to use Log4j v1.2.16. The following will do the job for v1.2.15:
If you don’t really want to exclude. Either manually download the dependencies and install locally or add the following repository:
Still, you will have to install
jmxtoolsandjmxri. I do not think they are available either publicly or on Sun’s maven repo.