cancel
Showing results for 
Search instead for 
Did you mean: 

could not find the required JAR file.

Former Member
0 Kudos

Hi friends,

I am developing an application in EP6SP2 which calls ABAP function module, retrieves values from returned table and show them in iview.

I am using JCA for that and not JCO Client service.

PDK for EP6SP2 contains a code to connect to SAP called "SapConnection.java." using JCA which has few import statements. But following import statement is not getting resolved.

import javax.resource.cci.ResourceAdapterMetaData;

Which JAR file i need to import in order to resolve this import statement?

I added following JAR files to my application:

activation.jar

com.sap.portal.htmlbbridge.jar

com.sap.portal.ivs.connectorserviceapi.jar

GenericConnector.jar

htmlb.jar

Regards,

Nilz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nilz !

try to add to your classpath the connector.jar.

If you use Netweaver developper studio, it's under programs files/SAP Netweaver/zeclipse/plugin/j2eeclient/

Nicolas

Former Member
0 Kudos

thax nicolas. It worked.

now in tht same code, the following statement is not getting resolved:

ctx = new com.sapportals.portal.prt.jndisupport.InitialContext(env);

Which JAR file is needed for this?

Do u have any document which tells abt the classes and he required JAR files?

Regards,

Nilz

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Finding the jars for compilation is one issue that is time consuming... there are some tools which will help us find jars at ease.

Jar class finder is one such a tool. 'Reference 1' tells you where to find the tool and 'Reference 2' tells you how to integrate with NWDS.

reference 1:

reference 2:

Hope that helps.

Regards,

S.Divakar

Former Member
0 Kudos

Hi Divakar,

I read the requirements page for jarfindertool which says u require ecilpse 3 or RAD.

but in downloads section, tool is also available for eclipse 2 and previous versions.

Thanx for the same.

Regards,

Nilz

Message was edited by: nilz

Former Member
0 Kudos

Hi,

The Latest NWDS still runs on Eclipse 2.

The blogs are with respect Eclipse 2 and hence the plugins work for Eclipse 2.

Hope that helps.

Divakar