Skip to Content
0
Former Member
Nov 15, 2004 at 06:15 PM

NoClassDefFoundError in custom login module

30 Views

Hallo,

I'm developing custom login module on EP6.0 SP2 (deployed as jar file). I'm using some classes in com.sap.security.api.jar and com.sap.security.core.jar.

I set all path to all jars in my IDE (NetWeaver DS) correctly. But when I'm trying to login to portal, an exception (NoClassDefFoundError: ~some class from jars above~) raised.

Jars I was writing about above, are located on portal in .../cluster/server/additional-lib.

In library.txt are entries:

library com.sap.security.api com\sap\security\api\com.sap.security.core.jar;com\sap\security\api\com.sap.security.core.tpd.jar;

com\sap\security\api\com.sap.security.api.jar;com\sap\security\api\com.sap.security.api.perm.jar

library MyLoginModule MyLoginModule.jar

reference com.sap.security.api MyLoginModule

Even when I copied mentioned jar files from portal to my project folder of my login module (and therefore to my jar file), i got the same exception.

Can anybody help me?