• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Urgent

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ...
 
This looks like a job for .... legal tender! It says so right in this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic