• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ejbc giving exception while running ANT

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic