Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

Problem build a Portal Application : package *** does not exist

$
0
0

Hello,

 

we have a problem with Netweaver Development Studio 7.3 building an Potal Application. We checked out the  SAP Portal - Ajax Framework  from the svn. We use a local Development Infrastructure. We added the missing jar Files to the java build path via. "Add external libary" but everytime we try to build the project we getting this:

 

[javac] Compiling 1 source file to C:\Users\Dschenke\Desktop\eclipse\workspace.jdi\LocalDevelopment\t\70E4EA59739031D87940594D2F9C54DA\classes
[javac] ERROR: C:\Users\Dschenke\Desktop\eclipse\workspace.jdi\LocalDevelopment\tds_ajax_framework\itc.tds.de\ajax_mobile_framework\_comp\src.core\de\itc\tds\mobile\portal\FrameworkPageComponent.java:3: package javax.servlet.http does not exist
[javac] ERROR: import javax.servlet.http.HttpSession;
[javac] ERROR:                      ^
[javac] ERROR: C:\Users\Dschenke\Desktop\eclipse\workspace.jdi\LocalDevelopment\tds_ajax_framework\itc.tds.de\ajax_mobile_framework\_comp\src.core\de\itc\tds\mobile\portal\FrameworkPageComponent.java:5: package com.sapconsulting.portal.utils.html does not exist
[javac] ERROR: import com.sapconsulting.portal.utils.html.EnhancedPortalResponse;
[javac] ERROR:                                       ^
[javac] ERROR: C:\Users\Dschenke\Desktop\eclipse\workspace.jdi\LocalDevelopment\tds_ajax_framework\itc.tds.de\ajax_mobile_framework\_comp\src.core\de\itc\tds\mobile\portal\FrameworkPageComponent.java:6: package com.sapconsulting.portal.utils.html.elements does not exist
[javac] ERROR: import com.sapconsulting.portal.utils.html.elements.HtmlFactory;
[javac] ERROR:                                                ^
[javac] ERROR: C:\Users\Dschenke\Desktop\eclipse\workspace.jdi\LocalDevelopment\tds_ajax_framework\itc.tds.de\ajax_mobile_framework\_comp\src.core\de\itc\tds\mobile\portal\FrameworkPageComponent.java:7: package com.sapportals.portal.prt.component does not exist
[javac] ERROR: import com.sapportals.portal.prt.component.*;
[javac] ERROR: ^
[javac] ERROR: C:\Users\Dschenke\Desktop\eclipse\workspace.jdi\LocalDevelopment\tds_ajax_framework\itc.tds.de\ajax_mobile_framework\_comp\src.core\de\itc\tds\mobile\portal\FrameworkPageComponent.java:8: package com.sapportals.portal.prt.pom does not exist
[javac] ERROR: import com.sapportals.portal.prt.pom.IEvent;
[javac] ERROR:                                 ^
[javac] ERROR: C:\Users\Dschenke\Desktop\eclipse\workspace.jdi\LocalDevelopment\tds_ajax_framework\itc.tds.de\ajax_mobile_framework\_comp\src.core\de\itc\tds\mobile\portal\FrameworkPageComponent.java:9: package com.sapportals.portal.prt.resource does not exist
[javac] ERROR: import com.sapportals.portal.prt.resource.IResource;
[javac] ERROR:                                      ^
[javac] ERROR: C:\Users\Dschenke\Desktop\eclipse\workspace.jdi\LocalDevelopment\tds_ajax_framework\itc.tds.de\ajax_mobile_framework\_comp\src.core\de\itc\tds\mobile\portal\FrameworkPageComponent.java:11: cannot find symbol
[javac] ERROR: symbol: class AbstractPortalComponent

 

 

The six Errors corrospond exactly to the six imports in the java File:

 

import javax.servlet.http.HttpSession;
import com.sapconsulting.portal.utils.html.EnhancedPortalResponse;
import com.sapconsulting.portal.utils.html.elements.HtmlFactory;
import com.sapportals.portal.prt.component.*;
import com.sapportals.portal.prt.pom.IEvent;
import com.sapportals.portal.prt.resource.IResource;
public class FrameworkPageComponent extends AbstractPortalComponent {..

 

We have not any Idea how to go on. We googeld 2 days on the problem and didn't found a solution.  In the Internet there is a lot stuff talking about adding external jar files as a development component, but as we are using Netweaver 7.3 I think this is outdated. Various Post and Tutorial as the Docu say that adding the jar file to the classpath is the correct way but it didn't work for us. If I comment the portalapp.xml out, it didn't affet the error log of the build process, but here is the portalapp.xml

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?><application alias="affs">  <application-config>    <property name="Vendor" value="sap.com"/>    <property name="SecurityArea" value="NetWeaver.Portal"/>    <property name="PrivateSharingReference" value="com.sap.portal.themes.lafservice, com.sap.portal.pagebuilder"/>  </application-config>  <components>    <component name="layout">      <component-config>        <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>        <property name="ResourceBundleName" value="pagebuilder_nls"/>        <property name="SafetyLevel" value="no_safety"/>      </component-config>      <component-profile>        <property name="ComponentType" value="com.sapportals.portal.layout"/>        <property name="com.sap.portal.pcm.Category" value="platform">          <property name="inheritance" value="final"/>        </property>        <property name="LayoutTagLibrary" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>        <property name="com.sap.portal.reserved.layout.TemplateFile" value="FrameworkPageLayout.jsp"/>        <property name="com.sap.portal.reserved.layout.Cont1" value="container">          <property name="title" value="Content"/>          <property name="orientation" value="vertical"/>        </property>        <property name="com.sap.portal.page.builder.optimization.level" value="2"/>        <property name="AuthScheme" value="anonymous"/>        <property name="Title" value="AFP Layout"/>        <property name="EPCFLevel" value="1"/>        <property name="SupportedUserAgents" value="(*,*,*)">          <property name="validvalues" value="7/(*,*,*)"/>        </property>      </component-profile>    </component>    <component name="iview">      <component-config>        <property name="ClassName" value="de.itc.tds.mobile.portal.FrameworkPageComponent"/>        <property name="SafetyLevel" value="no_safety"/>      </component-config>      <component-profile>        <property name="com.sap.portal.iview.ShowTray" value="false"/>        <property name="AuthScheme" value="anonymous"/>        <property name="EPCFLevel" value="1"/>        <property name="SupportedUserAgents" value="(*,*,*)">          <property name="validvalues" value="7/(*,*,*)"/>        </property>      </component-profile>    </component>  </components>  <services/></application>

 

So if u have any idea let us know.

 

Greetings David


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>