on 07-18-2005 10:51 PM
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]
References:
not registered!
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,
Steve
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?
Thanks again,
Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve,
Please include the the following library com.sap.portal.navigation.masthead_core.jar in the Custom_masthead/PORTAL-INF/private/lib in your project.
It should work.
I am assuming you have changed the name of your modified
masthead.
Hope this helps.
Regards
-Venkat Malempati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.