File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Urgent" Watch "Urgent" New topic
Author

Urgent

smitha verghese
Ranch Hand

Joined: Jun 21, 2003
Posts: 42
Hi,
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
JAVA_HOME:C:\j2sdk1.4.1_01
Classpath : .;C:\j2sdk1.4.1_01\lib;C:\j2sdk1.4.1_01\jre\lib;C:\apache-ant-1.6.0\lib\ant.jar;
PATH :%ANT_HOME%\bin
Hope my classpath wrong some where
Please do help me its urgent.
Thanks in advance
regards
Smitha
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12868
    
    5
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
Bill
Bis Bang
Greenhorn

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
 
Don't get me started about those stupid light bulbs.
 
subject: Urgent