on 08-22-2006 10:23 AM
Hi there,
I want to make use of the ISystemLandscapeService in my WD project. I added the .jar file. When I run the application I get the following error:
java.lang.NoClassDefFoundError: com/sapportals/iviewserver/systemlandscape/service/ISystemLandscapeService
Is that because of there is no portal sharing reference? Or is there some other cause.
Help needed.
Sandhya
Hi
try to deploy the jar file as library project.And make reference in the project.
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to add the jar file like this.
1)Go to navigator
2)Copy the jar in the lib folder
3) Go to the properties of the project
4)Java build path>Add jars>Select the jar in the lib folder
Since its not able to find the jar at the runtime it throws the error like this.
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijayakhanna,
I did what you said. I don't get the error anymore.
I get another error: java.lang.ClassCastException
at this line: ISystemLandscapeService landscapeService =
(ISystemLandscapeService) WDPortalUtils.getServiceReference(ISystemLandscapeService.KEY);
What is wrong?
Any help is welcome.
Sandhya
Hi VijayaKhanna,
I tried what you said. When I deploy I get a deployment exception:
: Clusterwide exception: server ID 163146250:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/WebDynproFromUWL cannot be started. Reason: it has hard reference to resource com.sap.portal.ivs.systemlandscapeservice with type application, which is not active on the server
How can I see if an portal application service is active on the server?
Sandhya
Hi,
I saw in some post that com.sap.portal.ivs.systemlandscapeservice.oldpcm
has deprecated and so instead we have to use com.sap.portal.ivs.systemlandscapeservice. But now I checked. Only com.sap.portal.ivs.systemlandscapeservice.oldpcm
is there. So try with this itself.
PORTAL:sap.com/com.sap.portal.ivs.systemlandscapeservice.oldpcm
Regards,
Vijayakhanna Raman
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.