Hi all,
I have migrated a simple PAR from 7.0 to 7.31 but I can not run it.
I get the following error message:
"com.sap.engine.services.deploy.exceptions.ServerDeploymentExceptions: Application sap.com/MyApp cannot be started. Reason: it has hard reference to library:com.sapportals.portal.prt.component, which is not active on the server because library is not deployed on server. Probably application sap.com/MyApp declares runtime but no deploytime dependency to the library which is wrong. Deploy the missing library com.sapportals.portal.prt.component as a workaround or contact application owners to check their references".
xml file:
<?xml version="1.0" encoding="UTF-8"?>
<application>
<application-config>
<property value="sap.com" name="Vendor"/>
<property value="SAPJ2EE::library:com.sap.portal.common,
SAPJ2EE::library::tc~cmi, com.sap.portal.common.commonservices,
SAPJ2EE::library:com.sapportals.htmlb, com.sap.portal.navigation.api_service,
com.sap.portal.navigation.helpservice, com.sap.portal.navigation.service,
com.sap.portal.productivity.resolverservice,
com.sap.portal.navigation.afp.helperservice,
com.sap.portal.runtime.system.favorites,
SAPJ2EE::service:engine.security.facade,
SAPJ2EE::library:com.sap.base.technology.facade,
SAPJ2EE::library:engine.j2ee14.facade, com.sap.portal.search.provider_api,
com.sap.portal.search.service, com.sap.portal.contenttaggingservice,
SAPJ2EE::library:tc~epbc~pcd~gl~api" name="PrivateSharingReference"/>
</application-config>
<components>
<component name="Banners">
<component-config>
<property value="com.mln.Banners" name="ClassName"/>
<property value="jspnative" name="ComponentType"/>
<property value="pagelet/Banners.jsp" name="JSP"/>
</component-config>
</component>
<component name="Banners">
<component-config/>
<component-profile/>
</component>
</components>
<services/>
</application>
Banners.jsp
<hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId">
<TABLE border="0" cellspacing="0" cellpadding="0">
<TR>
<TD width="10px"> </td>
<TD align="right">
<a class="community" href="MMMMM"
onClick=return EPCM.doNavigate('ROLES://portal_content/XXX')"
target="_parent">
<img src="<%=componentRequest.getWebResourcePath()+"/images/Banner1.jpg"%>" border="0">
</a>
</TD>
</TR>
</TABLE>
</hbj:form>
</hbj:page>
</hbj:content>