cancel
Showing results for 
Search instead for 
Did you mean: 

which jar to add for import com.sapportals.portal.prt.runtime.PortalRunt

0 Kudos

Hi

I just wanted to know that which jar should be added to resolve the

import com.sapportals.portal.prt.runtime.PortalRuntime;

import com.sapportals.portal.prt.component.IPortalComponentResponse;

Can any body tell the location from where the jar can be added.

Regards

Nitin

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member193726
Active Participant
0 Kudos

Hi Nitin,

Try to reference the following jar files to solve your problem.

bc.rf.framework_api.jar

bc.util.public_api.jar

prtapi.jar

Right click on your project, choose properties. Goto Java Buildpath. Click Add variable. Select PORTAL_HOME. Click extend. Highlight the required jar files listed above and say ok and ok again. Rebuild the project.

Hope this helps.

Regards,

Rekha Malavathu

Former Member
0 Kudos

Hi Nithin,

1.com.sap.portal.ivs.connectorserviceapi.jar or

com.sap.portal.ivs.connectorservice_api.jar (SP Stack 09 or greater)

2.If you have the Portal Development Kit installed on your portal server, you can find

this library in Java Development 􀃆 Downloads 􀃆 Portal Libraries 􀃆 libraries.zip.

Otherwise, look in:

http://<server>:<port>/irj/servlet/prt/portal/prtroot/com.sap.

portal.support.browse.default,

and then follow this path:

ROOT/WEBINF/

portal/portalapps/com.sap.portal.ivs.connectorservice/lib

3. Click the download link to download a zip file which contains this jar.

additionally refer to the following link

http://help.sap.com/javadocs/NW04S/SPS08/bi/howtos/How_To_BI_Java_SDK_Portal_iView.pdf

Regards,

P.Manivannan.

Message was edited by:

Armin Reichert

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.ep.applicationDevelopment_7.00

path in your local directory to get the portal related JAR files

Regards

Abhimanyu L

Former Member
0 Kudos

Hi Nitin,

You need to add prtapi.jar file to resolve the issue.

you need to go to project -> properties -> java build path. Check if this jar is added by default else try adding external jar file and locate the jar in plugin folder and add it.

Former Member
0 Kudos

Hi Nitin,

Go to the project properties..then go javabuildpath---->add external jar

These are the steps for adding the jar

Regards,

P.Manivannan

0 Kudos

hi

manivannan

Can u please tell me which jar to add and the location of the jar.

Regards

nitin

Former Member
0 Kudos

hi Nitin,

please tell the error message.

Regards,

P.Manivannan

Former Member
0 Kudos

Hi Nitin,

1.regarding ur error message.. the following path contains list of jar files.

2.go to the following file path and find respective jar files in ur requirement..

C:\Program Files\SAP\JDT\eclipse\plugins