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 --> http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f058ef9c-b211-2a10-4fad-8b88d5a1fe74 but i have a problem, when i create the iview, appear an error, the log is:

#1.5 #000C29065BE90064000000060000172000047AC72C79CD41#1260895981106#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#VCAPILLA#1555##n/a##48ce5250e99a11dea1c2000c29065be9#SAPEngine_Application_Thread[impl:3]_23##0#0#Error##Java###05:53_15/12/09_0007_9692150

[EXCEPTION]

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

-


Loader Info -


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

Parent loader name: [sap.com/Masthead]

References:

not registered!

Resources:

C:usrsapDESDVEBMGS00j2eeclusterserver0appssap.comirjservlet_jspirj ootWEB-INFportalportalappsMastheadprivateclasses

-


What have i register? How can register?

Thanks in advance,

Regards,

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 com.sap.portal.navigation.masthead_core.jar from com.sap.portal.navigation.masthead.par 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...)

    4.do the same with com.sap.portal.navigation.pagetoolbar_core.jar from com.sap.portal.navigation.pagetoolbar.par

    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.

      Regards,

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.