HI all, I'm trying to compile EJB files by using weblogic.ejbc in Weblogic 6.1. But it is not compileing and following exception is throwing.. "Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/ejbc" I gave correct weblogicClassPath and it contains weblogic.jar whereas buildClassPath points to the dir where the classes of the entire project live (I'm using the same classpath in my javac task). any thougths ?
Last night, I had the same problem. I read someone's post here, suggesting that once all the class files, Deployment Descriptors etc are ready and the source jar file is ready, then we should run the 'setEnv.bat' script file from the <domain> directory. This script sets all the environment requirements. Now, if you try 'java weblogic.ejbc ............', you should not get any error. It worked for me. Thanks & Bye, Tualha Khan
SCJP2, BEA WLS 6.0, DB2 UDB 7.1
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop