• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Urgent

 
smitha verghese
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • 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
Bill
 
Bis Bang
Greenhorn
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 ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic