Forked jjdoc-command to generate BNF fails with NoClassDefFoundError: JJDocMain -------------------------------------------------------------------------------
Key: MJAVACC-85 URL: http://jira.codehaus.org/browse/MJAVACC-85 Project: Maven 2.x JavaCC Plugin Issue Type: Bug Components: jjdoc Affects Versions: 2.4 Environment: windows xp, jdk 1.5.0_13, maven 2.0.8 Reporter: Torbjörn Stavenek Running mvn javacc:jjdoc fails with java.lang.NoClassDefFoundError: org/javacc/jjdoc/JJDocMain The problem seems to be that the maven classpath is ignored and not passed along to the forked off process to run JJDocMain. Workaround: set the CLASSPATH env variable to contain the path to the javacc-4.0.jar. -- 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 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email