I am getting the following exception when attempting to run a modified copy of com.sap.portal.navigation.Masthead:
Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.navigation.HeaderiView
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@a14dc9]
Parent loader name: [sap.com/com.pioneer.util.Masthead]
No resources !
Here are the steps that I did to modify the delivered SAP Masthead.
1. I downloaded the portal masthead and imported it as a .par in to a new project in NetWeaver Dev. Studio.
2. I made a couple of changes to the .jsp and deployed the .par to my development server.
3. I created a new iView from .PAR in the PCD.
4. I go to the Preview tab of the iView or go to page that has my new iView on it and I get the exception that is above.
I think that it has something to do with my portalapp.xml SharingReference section (listed below), but I don't know what. I have kept it the exact same as what was downloaded from the original Masthead export. Anyone have any ideas?
<property name="SharingReference" value="com.sap.portal.htmlb,com.sap.portal.themes.lafservice,com.sap.portal.navigation.service,com.sap.portal.navigation.helperservice,com.sap.portal.license.runtime,com.sap.portal.common.commonservices,SAPJ2EE::library:com.sap.portal.common"/>
Thanks. That worked. Do you know if there is the potential for class version conflicts when you upgrade portal versions? I would suspect there is if I don't update the referenced .jar and re-deploy my project after an upgrade has been done.
Also, I tried to find where I can reward you point, but could not find it. Do you know how?