You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "polireddy (JIRA)" <ji...@codehaus.org> on 2010/03/19 15:13:22 UTC

[jira] Commented: (MANTRUN-131) maven-antrun-plugin with the ejbgen ant task

    [ http://jira.codehaus.org/browse/MANTRUN-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214493#action_214493 ] 

polireddy commented on MANTRUN-131:
-----------------------------------

[null] Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/javadoc/Type

For this class not found issue,  i checked the class com/sun/javadoc/Type in tools.jar that is in classpath.

Still issue is appearing.

Please help me if need any changes in pom.xml.

> maven-antrun-plugin  with the ejbgen ant task
> ---------------------------------------------
>
>                 Key: MANTRUN-131
>                 URL: http://jira.codehaus.org/browse/MANTRUN-131
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Maven version: 2.0.10
> Java version: 1.5.0_14
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            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