Expand my Community achievements bar.

Class not Found Execption for inner classes

Avatar

Level 3

Hi ,

When I am trying to deploy a custom component despite of putting the class path I am facing isses regarding class not found for classes that are present in an inner jar.Can someone please let me know what could nbe wrong.Please let me know the correct way of doing so.

I am adding a data type as well and adding the path thre also.

Regards,

Leena

2 Replies

Avatar

Level 10

Can you put that inner jar file path in the class path as well?

The data type won't make any difference.

Jasmin

Avatar

Level 8

The most common problem is in the path part of the class-path.  One thing to remember is not to bother with .. or / at the start of the path.  For example my jar files are in a lib folder off the root of my application:

<class-path>lib\aglj40.jar lib\pdfcore.jar lib\pdfencryption.jar lib\pdfservices.jar lib\rideau.jar</class-path>