• Post Reply Bookmark Topic Watch Topic
  • New Topic

[java] ERROR: ejbc couldn't invoke compiler  RSS feed

Bhupesh Maduskar
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting subject line error while calling ant target ejbc . I am getting this error only when i remove one EJB entry from weblogic-ejb-jar.xml and ejb-jar.xml, why i am removing it since i do not need it any more. but when i add it back , build ran w/o any issue. there is not project specific classfiles in stacktrace.

<target name="ejbc" description="Creates a Deployable JAR file of the EJB classes" depends="prepare-ejb">
<echo message="Creating deployable ejb jar file ... "/>
<mkdir dir="${build.deploy}"/>
<java classname="weblogic.ejbc" fork="yes">
<sysproperty key="weblogic.home" value="${weblogic.home}"/>
<arg line="-nowarn -compiler javac ${build.lib}/tcmgwejbtemp.jar ${build.deploy}/${jar.name}.jar"/>
<classpath refid ="tcmgw-xmlbean-path"/>
<classpath refid="wls-class-path"/>
<classpath refid="tcmgw-webservice-int-client-path"/>
<echo message=" deployable JAR File Created ... "/>

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