[ 
https://issues.apache.org/jira/browse/DIRGROOVY-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757645#action_12757645
 ] 

Stefan Zoerner commented on DIRGROOVY-6:
----------------------------------------

I assume, that you have named your source file "ldap-search.groovy", which 
leads to an illegal class name during compilation. If so, the problem is not 
related to Groovy LDAP. Please try to rename your file to something without a 
minus, like "ldapsearch.groovy", and try again.



> Getting an error while running the LDAP search operation example
> ----------------------------------------------------------------
>
>                 Key: DIRGROOVY-6
>                 URL: https://issues.apache.org/jira/browse/DIRGROOVY-6
>             Project: Directory Groovy LDAP
>          Issue Type: Bug
>         Environment: Groovy 1.6.4
> groovy-ldap.jar location: ~/.groovy/lib/groovy-ldap.jar
>            Reporter: Thomas Amsler
>            Assignee: Stefan Zoerner
>
> Sample Code:
> http://cwiki.apache.org/DIRxSBOX/2-groovy-ldap-user-guide.html#2.GroovyLDAPUserGuide-LDAPsearchoperation
> Error:
> groovy ldap-search.groovy 
> Caught: java.lang.ClassFormatError: Illegal class name "ldap-search" in class 
> file ldap-search

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to