on 11-17-2006 2:08 PM
Hello out there,
i have NWDS-SP09 and hav created an Portal-App-Project. There i created a new portal-component (JSPDynPage). The generated class looks as following:
package com.kpmg.portaldev.jspdynpages;
import com.sapportals.portal.prt.component.*;
import com.sapportals.htmlb.*;
import com.sapportals.htmlb.enum.*;
import com.sapportals.htmlb.event.*;
import com.sapportals.htmlb.page.*;
import com.sapportals.portal.htmlb.page.*;
import com.sapportals.portal.prt.component.*;
public class analyzeAuthority extends PageProcessorComponent {
public DynPage getPage(){
return new analyzeAuthorityDynPage();
}
public static class analyzeAuthorityDynPage extends JSPDynPage{
public void doInitialization(){
}
public void doProcessAfterInput() throws PageException {
}
public void doProcessBeforeOutput() throws PageException {
this.setJspName("analyzeAuthority.jsp");
}
}
}
I added this JAR to the project (in the properties ofthe project)-classpath:ECLIPSE_HOME/plugins/com.sap.ep.applicationDevelopment_7.00/com.sap.portal.htmlb_api.jar
but i get this error and cannot build the project:The project was not built since its classpath is incomplete. Cannot find the class file for com.sapportals.htmlb.page.DynPage. Fix the classpath then try rebuilding this project. PortalDevelopment1
Any ideas ?
Is there an other location to setup the classpath ?
Best regards,
André
Hi,
I think you need to add the jar file for Dynpage. Use the jarfinder to find the jar and add it to your project.
JAR FINDER
/people/kirupanand.venkatapathi2/blog/2006/01/02/using-jar-class-finder
search for Dynpage using the jar finder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try
PORTAL_HOME/com.sap.portal.htmlb_api.jar
Insert this PORTAL_HOME variable, the value must be something like this:
C:\$YOUR_NWDS_DIR_INST$\JDT\eclipse\plugins\com.sap.ep.applicationDevelopment\
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andre,
Try once like this
add com.sap.portal.htmlb_api.jar to your project.
1. Right-click the project in Eclipse or SAP NetWeaver Developer Studio.
2. Select Properties.
3. Choose Java build path -> Libraries -> Add Variable -> Select variable WD_RUNTIME -> Extend -> com.sap.portal.htmlb -> lib ->com.sap.portal.htmlb_api.jar
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No need to add the that jar .
That was already there I think.
Please check once.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.