Re: [jnc-users] LDAP with jnc
Status: Beta
Brought to you by:
soapy
From: Marco T. <ma...@mt...> - 2007-10-18 16:39:48
|
Norman Rieß wrote: > Marco Trudel schrieb: >> >> Not necessarily. If you don't run into a "ClassNotFoundException", >> these dependencies are never needed. So there's no sense in bloating >> up your binary for something that is never needed... >> >> >> Marco >> > Hm, apparently Classes, that are in the .jar-File (i checked) are not > found in the binary. Even if i activate the checkbox in "Step 1" screen. Does the same work in a Sun JRE? > Exception in thread "main" java.lang.NoClassDefFoundError: > com.novell.ldap.LDAPAttributeSet > at java.lang.Class.initializeClass(LdapInfo) > at com.novell.ldap.LDAPSearchResult.getEntry(LdapInfo) > at com.novell.ldap.LDAPSearchResults.getBatchOfResults(LdapInfo) > at com.novell.ldap.LDAPSearchResults.resetVectors(LdapInfo) > at com.novell.ldap.LDAPSearchResults.hasMore(LdapInfo) > at ldapinfo.PrintLdapInfo.printSet(LdapInfo) > at ldapinfo.LdapInfo.main(LdapInfo) > Caused by: java.lang.IllegalAccessError: > com.novell.ldap.LDAPAttributeSet can't access class > com.novell.ldap.util.SAXEventMultiplexer That doesn't look like a ClassNotFoundException. It looks more like problems with XML. XML is known to be problematic with JNC. Please check the archives on how to add all XML objects into your binary. Marco > at java.lang.Class.initializeClass(LdapInfo) > ...6 more > |