Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6129155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:42:33+00:00 2026-05-23T16:42:33+00:00

My issue is to make ant logging in the way I need. So that

  • 0

My issue is to make ant logging in the way I need. So that I decided to use Log4j. As I has read from this article I set the ANT_OPTS:

set ANT_OPTS=-Dlog4j.debug -Dlog4j.configuration=file:///d:/ant_dir/lib/log4j.xml

When I try to execute the build.xml by the command:

D:/ant_dir>ant -listener org.apache.tools.ant.listener.Log4jListener

I catch an error: Class org.apache.tools.ant.listener.Log4jListener could not be loaded because of an invalid dependency.
The log4j.jar and log4j.xml are located in the ANT_HOME/lib directory.

I have been searching for a tutorial but found nothing.
Can somebody, please, help me with an advice or give a useful link?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:42:34+00:00Added an answer on May 23, 2026 at 4:42 pm

    Well, I found a solution. The problem was in log4j.jar. This file was corrupted. I have changed it and everithing is working now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got Jquery UI Datepicker that work well, but one important issue make me
Here's the situation: I trying to make a ant test script that does the
I am having an issue that make me crazy I have a listview with
I'm dealing with an issue that make me crazy. I want to build the
I've been much time on this issue, I need to have javax.servlet.Servlet(also, javax.persistence) available.
I'm using CMake 2.8 and having an problem when I issue a 'make install/strip'.
I am having an issue trying to make a small text-fantasy type game involving
I run into the following issue semi-regularly: I make changes to XAML or some
Here is my specific issue. I want to make an api level which then
I have an issue. We have a website, where person can login and make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.