• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown


Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to run EJB in web server. Before that all the java files have to b
created as a jar file so i have put ant into c directory and put all my java files in c:\Lookup
I put in the command line c:\Lookup\ant all
it gives me an error
Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer - dependent class not found: org/apache/bcel/classfile/ClassParser

The path i have set is
ANT_HOME : C:\apache-ant-1.6.0
Classpath : .;C:\j2sdk1.4.1_01\lib;C:\j2sdk1.4.1_01\jre\lib;C:\apache-ant-1.6.0\lib\ant.jar;
Hope my classpath wrong some where
Please do help me its urgent.
Thanks in advance
Author and all-around good cowpoke
Posts: 13078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. friendly suggestion - NEVER title your post something like URGENT - it communicates exactly zero information to guide somebody as to whether or not to even look at it. You may be in a state of panic, but we don't care. try to communicate what the problem is - maybe "Ant can't find dependent class"
2. Read the j2sdk tooldocs for what needs to be in your classpath
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for running EJB u need to have an ejb container.... under any application server or u need to have sun's J2EE server...
Try that ...
Why fit in when you were born to stand out? - Seuss. Tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic