Hi,
I have a problem with the external jar in NWDS
I created portal application in NWDS.
i need to add two jar file commons-fileupload-1.2.2.jar and commons-io-2.4
Procedure used to add file it is
rigth click -> Properties -> Java Build Path -> Add External jar
My application displays an error during the build
when I add import org.apache.commons.fileupload.FileItem; in uploadFile.java, the projet refuses to build
Class uploadFile.java
import com.sapportals.portal.prt.component.AbstractPortalComponent;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.portal.prt.component.IPortalComponentResponse;
import org.apache.commons.fileupload.FileItem;
public class uploadFile extends AbstractPortalComponent
{
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
{
}
}
Error build Log
[javac] Compiling 1 source file to C:\Documents and Settings\pasapas1\Bureau\nwds-extsoa-EHP1-7.3-SP03-PAT0006-win32\eclipse.jdi\8\t\8D1EE8660E123942BBB303C230518210\classes
[javac] ERROR: C:\Documents and Settings\pasapas1\Bureau\nwds-extsoa-EHP1-7.3-SP03-PAT0006-win32\eclipse.jdi\8\DCs\sap.com\home\zpsouser\_comp\src.core\uploadFile.java:5: package org.apache.commons.fileupload does not exist
[javac] ERROR: import org.apache.commons.fileupload.FileItem;
If someone has an idea how to solve the problem.
Thank you