[ 
https://issues.apache.org/jira/browse/GROOVY-8017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15746883#comment-15746883
 ] 

Paul King commented on GROOVY-8017:
-----------------------------------

Have you tried adding the commons cli jar to your classpath? Should I close 
this issue or do you still have a problem?

> unable to start any script using a CLIBuilder with groovy-all
> -------------------------------------------------------------
>
>                 Key: GROOVY-8017
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8017
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-runtime
>    Affects Versions: 2.4.7
>            Reporter: MichaƂ Zegan
>            Priority: Minor
>
> It seems that groovy-all package does not work when trying to run a script 
> that uses a command line parser like groovy.util.CLIBuilder.
> I have tried to run my script directly, adding groovy-all and ivy to 
> classpath and using groovy.ui.GroovyMain as a main class. This is the error 
> that I got:
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
> failed:
> General error during class generation: java.lang.NoClassDefFoundError: Unable 
> to load class groovy.util.CliBuilder due to missing dependency 
> org/apache/commons/cli/ParseException



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to