so does your directory structure look like
1)
\netdynamics\netdynamics40\projects\ldap\client\...
or
2)
\netdynamics\netdynamics40\projects\netscape\ldap\client\...
it needs to be 2)
-Chip
Team NetDynamics
"Osman Sakalla" <[EMAIL PROTECTED]> wrote:
>
>Hi,
>I added the netscape.ldap and all of its subdirs in my projects dir ( winNT) and
>added the following code on a button click
>
>LDAPConnection conn = new LDAPConnection();
>
>conn.connect ( myServer,port);
>
>LDAPUrl ur=new
>LDAPUrl("ldap://host/o=company?telephonenumber?(&(corp_empnum=99999999))");
>
>
>if (conn.isConnected())
> {
> LDAPSearchResults results =(LDAPSearchResults)
>conn.search( ur);
>
> }
>the problem is that the code compiles fine but i get an unexpected exception
> Unexpected exception from an event (java.lang.NoClassDefFoundError:
>netscape/ldap/client/opers/JDAPResult
>
>any ideas ?
>Osman Sakalla
>Nortel Networks
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]