on 08-16-2005 2:27 PM
I am using the following Code :-
IUrlGeneratorService urlGenService = (IUrlGeneratorService) PortalRuntime. getRuntimeResources().getService(IUrlGeneratorService.KEY);
IPortalUrlGenerator urlGenerator =(IPortalUrlGenerator) urlGenService.getSpecializedUrlGenerator(PortalUrlGenerator.KEY);
I have added the com.sap.portal.appintegrator.sap.bwc_api.jar in the classpath .
But still I am getting the error :-
java.lang.NoClassDefFoundError: com/sapportals/portal/prt/service/urlgenerator/IUrlGeneratorService
Kindly let me how to resolve the error.
Thanks.
Hi Ravi,
Add the Sharing reference in your portalapp.xml to let the PRT know that you are using this service.
For e.g.
<application-config>
<property name="SharingReference" value="urlgenerator"/>
</application-config>
Hope this helps.
Ankur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.