Hi I created .jar file and next step is creating container classes for which I am typing like this. >>java weblogic.ejbc my.jar myfinal.jar getting the following error. >>Exception in thread "main" >>java.lang.NoClassDefFoundError: weblogic/ejbc please help me in finding the problem. Thanking u in advance Saradhi
You will have to run the setEnv.cmd script from the shell prompt. It is located in the directory of your domain. once that script is through, it will set all the environment paths needed for running the ejbc utility. Hope it helps. Thanks & Bye, Tualha Khan
Thank you khan I did as u mentioned now I am getting another problem I ran this If I give with java weblogi.ejbc..... then same error is coming that is class def not found.. If I am typing the following then..... >javac weblogic.ejbc D:\Work\EJB\welogic6\stateless\Classes\bookJAR.jar D:\Work\EJB\welogic6\stateless\Classes\finalBookJAR.jar >javac: invalid argument: weblogic.ejbc Usage: javac <options> <source files> 1. what might be the problem here I tried many times as in document but giving the same error pls. help me 2.It should use java or javac? 3. shall I have to set any classpaths after installing weblogic6.1? Thanking you in advance Saradhi [ February 21, 2002: Message edited by: pardha saradhi ] [ February 21, 2002: Message edited by: pardha saradhi ]
I think the correct statement on the prompt should be: >java weblogic.ejbc -compiler javac D:\Work\EJB\welogic6\stateless\Classes\bookJAR.jar D:\Work\EJB\welogic6\stateless\Classes\finalBookJAR.jar INSTEAD of