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 6200789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:25:54+00:00 2026-05-24T04:25:54+00:00

i have a problem with my project and ant4eclipse. If i run the build.xml

  • 0

i have a problem with my project and ant4eclipse. If i run the build.xml i got this message:

Exception in thread "main" : org.ant4eclipse.lib.core.exception.Ant4EclipseException: Exception
whilst resolving the classpath entry '[EclipseClasspathEntry: path: 
org.eclipse.jst.j2ee.internal.module.container entryKind: 0 outputLocation: null exported: false]' of project 'MyProject': '

No 'jdtClassPathLibrary' defined for library entry 
'org.eclipse.jst.j2ee.internal.module.container'. 
To resolve this problem, please define a 'jdtClassPathLibrary' 
element inside your ant build file:

ant4eclipse:jdtClassPathLibrary name="org.eclipse.jst.j2ee.internal.module.container"  
fileset dir="..."/
/ant4eclipse:jdtClassPathLibrary 

But where can i find the files?
The .classpath file has just this entry:

classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/
  • 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-24T04:25:55+00:00Added an answer on May 24, 2026 at 4:25 am

    What you have there in your .classpath is a container entry. That’s a sort of shorthand which means “include all the jars which are part of this container”. The definition of which jars make up a container is stored in a file called variablesAndContainers.dat, in the workspace’s .metadata directory (these definitions are workspace-wide, not scoped to a particular project).

    As far as i know, ant4eclipse can read .classpath files, but not the variablesAndContainers.dat file (this was certainly true last time i used ant4eclipse, a couple of years ago). That means that although it can find that you have a classpath entry the org.eclipse.jst.j2ee.internal.module.container container, it cannot find out what the definition of that container is.

    So, whenever you use a container, you have to supply a definition of it to ant4eclipse, in the form of an ant4eclipse:jdtClassPathLibrary element, exactly as the error message says:

    <ant4eclipse:jdtClassPathLibrary name="org.eclipse.jst.j2ee.internal.module.container">
        <fileset dir="..."/>
    </ant4eclipse:jdtClassPathLibrary>
    

    The fileset tag should define the jar files which make up the container.

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

Sidebar

Related Questions

I have this problem in a project I'm working on: I have a list
i have a problem with my project. I want to build application using air
I have a problem with my project structure: pic-analysis-0.1/AlgTop/Data.hs Functions.hs PNGModify.hs Main.hs Data.hs :
I have a problem in my project with the .designer which as everyone know
I’m having a little Architecture problem. In my project I have a Business Logic
I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
I have problem in project i have dll, when i use function open show
I have a problem now : When I want to compile my project in
I have a problem in a project wherein my App_Resources folder has the following
I have a problem in my project. There is an admin panel in my

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.