[
http://jira.codehaus.org/browse/MANTRUN-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Siveton closed MANTRUN-133.
-----------------------------------
Resolution: Duplicate
> maven-antrun-plugin with the ejbgen ant task
> ---------------------------------------------
>
> Key: MANTRUN-133
> URL: http://jira.codehaus.org/browse/MANTRUN-133
> Project: Maven 2.x Antrun Plugin
> Issue Type: Bug
> Environment: Dev environment
> Reporter: polireddy
> Attachments: ejbgen-build-maven.xml, pom.xml
>
>
> When i am calling ant build.xml from maven to run ejbgen task, getting the
> following issue.
> [null] Exception in thread "main" java.lang.NoClassDefFoundError:
> com/sun/j
> avadoc/Type
> [null] at
> com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceB
> uilder(JamServiceFactoryImpl.java:205)
> [null] at
> com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder
> (JamServiceFactoryImpl.java:158)
> [null] at
> com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLo
> ader(JamServiceFactoryImpl.java:137)
> [null] at
> com.bea.util.jam.provider.JamServiceFactoryImpl.createService
> (JamServiceFactoryImpl.java:78)
> [null] at
> com.bea.sgen.loader.JClassLoaderImpl.load(JClassLoaderImpl.ja
> va:107)
> [null] at com.bea.sgen.SGen.run(SGen.java:190)
> [null] at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:212)
> [null] at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:238)
> [ejbgen] Java returned: 1
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while
> exe
> cuting this line:
> C:\apps-maven\sasejb\sasejb-ear\ejbgen-build-maven.xml:32: Java returned: 1
> If i run ant build.xml from command prompt, not getting any issue. it's
> working fine.
> Issue is comming if i do from Maven.
> Would you please me to fix this issue. it's very urgent for me
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira