Skip to Content
author's profile photo Former Member
Former Member

Not able to Locate Jar for a Class

Hi All,

I am trying to import the below class but i am getting an error because the jar doesn't exists in the Build Path,

Can anyone tell me which JAR has to be added to resolve the issue ?

import com.sap.portal.navigation.IAliasHelper;

Class used in below code.

IAliasService aliasService = (IAliasService) PortalRuntime.getRuntimeResources().getService(IAliasService.KEY);

IAliasHelper aliasHelper = (IAliasHelper) aliasService;

Please note that the development is in NW 7.3

Thanks

Utsav

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Nov 21, 2012 at 10:34 AM

    it is aliases.jar inside the ... WEB-INF/lib/ folder

    Thanks

    Jo

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 20, 2012 at 07:54 PM

    Hi,

    Development Components shows that many portal applications including
    ones that comes from EP-RUNTIME such as
    com.sap.portal.navigation.AliasService are with older 7.30 SP0 version.

    I would recommend to redeploy latest patch of EP-RUNTIME to check of the
    issue gets resolved?

    Regards,

    Aidan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2012 at 07:34 AM

    Hi Utsav,

    do you have looked at this nice tool which is described in the following blog:

    http://scn.sap.com/community/netweaver-portal/blog/2012/11/20/nw-730-sp08--adding-class-jar-locator-to-nwds

    Maybe this can help you to locate the right jar file.

    br,

    fabian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.