• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbc giving exception while running ANT  RSS feed

 
rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
init:
ejbc:
[echo] + ===================================================== +
[echo] + +
[echo] + EJBC +
[echo] + +
[echo] + ===================================================== +
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriRequisitionEJBRef has a class com.sns.legal.lri.ejb.LriRequisitionSLBean that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriRequisitionEJBRef has a class com.sns.legal.lri.ejb.LriRequisitionSLHome that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriRequisitionEJBRef has a class com.sns.legal.lri.ejb.LriRequisitionSL that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriStreetListEJBRef has a class com.sns.legal.lri.ejb.LriStreetListSLBean that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriStreetListEJBRef has a class com.sns.legal.lri.ejb.LriStreetListSLHome that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriStreetListEJBRef has a class com.sns.legal.lri.ejb.LriStreetListSL that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriSearchEJBRef has a class com.sns.legal.lri.ejb.LriSearchSLBean that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriSearchEJBRef has a class com.sns.legal.lri.ejb.LriSearchSLHome that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriSearchEJBRef has a class com.sns.legal.lri.ejb.LriSearchSL that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriReplyEJBRef has a class com.sns.legal.lri.ejb.LriReplySLBean that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriReplyEJBRef has a class com.sns.legal.lri.ejb.LriReplySLHome that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Mar 29, 2007 4:53:27 PM GMT+05:30> <Warning> <EJB> <BEA-010054> <EJB Deployment: ejb/lri/LriReplyEJBRef has a class com.sns.legal.lri.ejb.LriReplySL that is in the classpath. 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(Unknown Source)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(Unknown Source)
[java] at java.lang.ClassLoader.loadClass(Unknown Source)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[java] at java.lang.ClassLoader.loadClass(Unknown Source)
[java] at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Unknown Source)
[java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:407)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
[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:517)
[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
[java] Java Result: 1
init:
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like you are either missing the java path in your build.xml, or java is not in your path for you system. Anyway it can't find javac, which is the Java compiler which is installed in you JAVA_HOME\bin

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!