cancel
Showing results for 
Search instead for 
Did you mean: 

I cant import "com.sapportals.portal.prt.component library!"

Former Member
0 Kudos

Hey masters!

I need use the next classes:

com.sapportals.portal.prt.component.AbstractPortalComponent

com.sapportals.portal.prt.component.IPortalComponentRequest

com.sapportals.portal.prt.component.IPortalComponentResponse

com.sapportals.portal.prt.runtime.PortalRuntime

com.sapportals.portal.prt.service.usermapping.IUserMappingService

... but i cant import this Classes. My Sap NetWeaver version is 7.09.

Someone know how fix this problem?

(i dont speak english very well!)

Thanks for all!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Giancarlo.

You need to get the jar packages, which contain the classes you want to use and add them to the classpath of your web dynpro project. Then, you should be able to import them in your project. So right click on your projet's name | Properties | Java Buid Path | Libraries and there "Add External JARs" - choose your java file containg that classes.

Hope, it will help.

Regards

Ondrej

Answers (1)

Answers (1)

PradeepBondla
Active Contributor
0 Kudos

hi,

it's in prtapi.jar. It should already be there with your NWDS(newtweaver developer studio). If you are using eclipse , it should be in the plugin for portal.

check this forum threads on the same..

/thread/122950 [original link is broken]

/thread/111300 [original link is broken]

/thread/56740 [original link is broken]

regards,

Pradeep