cancel
Showing results for 
Search instead for 
Did you mean: 

help! NoClassDefFoundError: com/sap/guid/GUIDGeneratorFactory

Former Member
0 Kudos

Hi,

I create an enterprise application that is a simple servlet application. In the servlet application, I use GUID to generate unique primary keys for database tables.

Compile/build my application works fine. But when I try to run the application, I got "Exception caught java.lang.NoClassDefFoundError: com/sap/guid/GUIDGeneratorFactory ..." error.

I have add a reference to com.sap.base.technology.facade in "application-j2ee-engine.xml" file.

Please help me on this issue. Thanks in advance!

Best regards

James

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182372
Active Contributor
0 Kudos

Hi James,

Why

<i>com.sap.base.technology.facade</i>

why not:

<i>

<reference

reference-type="hard">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.guid</reference-target>

</reference>

</i>

best regards, Maksim Rashchynski.

Former Member
0 Kudos

Hi James,

Add this jar "guidgenerator.jar" to the servlet application module.

Regards,

Uma