Also, Try writing to a relevant mailing list. That may help you more.
-----Original Message----- From: as as [mailto:[EMAIL PROTECTED] Sent: 05 March 2004 23:13 To: Struts Users Mailing List Subject: Re: [OT] unable to build ejb using ant in weblogic 8.1 Try checking your settings in system classpath also (Start->Settings->Control Panel....) [EMAIL PROTECTED] wrote: Hi, I am trying to build my ejb using ant and getting the following Exception. I have checked my classpath for tools.jar and my Java Home variable is pointing to jdk directory. any idea why this error comes up Thanks for any help Regards Anant callEjbBuild: copyDescriptorsTri: [copy] Warning: META-INF\ejb-jar.xml modified in the future. [copy] Warning: META-INF\weblogic-ejb-jar.xml modified in the future. [copy] Copying 2 files to C:\mina\Phase1\codeMarch5\SourceCode\stage\Trillium copyEJBForBuildTri: [echo] Copy for Build Completed Successfully make-temp-jars-tri: [jar] Building jar: C:\mina\Phase1\codeMarch5\SourceCode\stage\Trillium\Trillium-tem p.jar ejbBuildTri: [java] lliumService has a class com.marsh.mina.trillium.ejb.TrilliumEJB that is in the classpath. This class should only be located in the ejb-jar file.> [java] lliumService has a class com.marsh.mina.trillium.ejb.TrilliumHome that is in the classpath . This class should only be located in the ejb-jar file.> [java] lliumService has a class com.marsh.mina.trillium.ejb.TrilliumService that is in the classp ath. This class should only be located in the ejb-jar file.> [java] Compiler class: 'com.sun.tools.javac.Main', not found [java] java.lang.ClassNotFoundException: com.sun.tools.javac.Main [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:198) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:186) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:299) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:255) [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:140) [java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoke r.java:407) [java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:32 9) [java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:33 7) [java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270) [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397) [java] at weblogic.ejbc20.runBody(ejbc20.java:519) [java] at weblogic.utils.compiler.Tool.run(Tool.java:146) [java] at weblogic.utils.compiler.Tool.run(Tool.java:103) [java] at weblogic.ejbc.main(ejbc.java:29) [java] ERROR: Error from ejbc: Compiler class: 'com.sun.tools.javac.Main', not found [java] ERROR: ejbc couldn't invoke compiler Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you're looking for faster. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]