File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Urgent" Watch "Urgent" New topic


smitha verghese
Ranch Hand

Joined: Jun 21, 2003
Posts: 42
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: - 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
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
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
Bis Bang

Joined: Jan 28, 2004
Posts: 15
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 ...

The glory lies not in not falling, but it lies in rising everytime you fall
It is sorta covered in the JavaRanch Style Guide.
subject: Urgent
jQuery in Action, 3rd edition