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

error in Merge the Masthead and the Tool Area

Hi experts,

I create a new par component with this tutorial: How to Merge the Masthead and the Tool Area in SAP Enterprise Portal --> but i have a problem, when i create the iview, appear an error, the log is:



#1#java.lang.ClassNotFoundException: com.sapportals.portal.navigation.HeaderiView


Loader Info -

ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@4ee78ac]

Parent loader name: []


not registered!


C:usrsapDESDVEBMGS00j2eeclusterserver0appssap.comirjservlet_jspirj ootWEB-INFportalportalappsMastheadprivateclasses


What have i register? How can register?

Thanks in advance,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2009 at 09:02 AM

    Hi Victor.

    It happens because during import of par files NWDS doesn't copy lib files with core java classes. Thus you need to add them manually:

    1.extract from and copy it into your project's lib folder (dist\PORTAL-INF\lib\)

    2.refresh project

    3.add this jar file to Java Build Path of your project (Project>Properties>Java Build Path>Libraries>Add JARs...) the same with from

    5.rebuild and export your project again.

    Refer to SAP NWDS Documentation included in Help.

    Best regards,

    Aliaksandr Zhukau

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I solve the problem, i add new variables:

      IPortalComponentContext myContext = componentRequest.getComponentContext();

      IPortalComponentProfile profile = myContext.getProfile();

      I had another error with if(isEnabled(ENABLE_CLP)) { } This function doesn´t exist, so, i create another variable: boolean enable_clpV = getParameter(componentRequest, ENABLE_CLP);

      Now work fine.


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.