cancel
Showing results for 
Search instead for 
Did you mean: 

NoClassDefFoundError: com/sapportals/wcm/repository/IPropertyName

Former Member
0 Kudos

Hi Expert,

I have the following error during the compilation of a JSP/HTMLB page : NoClassDefFoundError: com/sapportals/wcm/repository/IPropertyName.

any idea ?

Thanks,

Franck

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The class that you are using is inside the par file

com.sap.km.cm.service.base.par.

Try to add to the SharingReferences the entry:

com.sap.km.cm.service.base

I don't know for sure, but normally we must add the PAR name or an alias, if defined, to the sharing references.

In the API Documentation you can see to witch par file the class belong.

com.sapportals.wcm.service.propertyconfig

Interface IPropertyConfigurationService

-

-


public interface IPropertyConfigurationService

This service provides a meta information model which can be used to configure custom properties.

Hope this help.

Regards,

José

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you José, it works with the SharingReferences entry:

com.sap.km.cm.service.base.

Bye

Former Member
0 Kudos

Thank you Jose.

I included the line you indicate but now I have the same problem on another class :

com/sapportals/wcm/service/propertyconfig/IPropertyConfigurationService

In a general way, How can I know the library to include in the SharingReference tag regarding the Java classes I want to use in my JSP.

Thanks ,

Franck

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Franck,

You need to have the km.shared.service.propertyconfig_api.jar in ur project.

Use jarfinder to get the jar.

You should be able to find it under :

<irj-root>\WEB-INF\portal\portalapps\com.sap.km.cm.service.base\lib\km.shared.service.propertyconfig_api.jar

regards,

Saravanan.

Former Member
0 Kudos

Hi,

Did you include in the portalapp.xml the service reference for the cm?

ie:

...

regards,

José