Skip to Content
avatar image
Former Member

Error in javax.resource.cci.Connection during Compilation

Hi,

I am using NW 04 to write a par for my EP.

But I encountered the following error at the line

package com.sap.nwrig.demo;

The error is as shown :

This compilation unit indirectly references the missing type javax.resource.cci.connection (typically some required class file is referencing a type outside the classpath)

Do hope anyone could help.

Thanks.

Regards,

Mike Lee

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 08, 2005 at 07:56 AM

    Hi Mike,

    I guess you need to add the JCA library that contains the javax.resource.cci.Connection class to the classpath of your project. Here's how to do it (assuming you're using the NetWeaver Developer Studio):

    1. Right click on your project and choose Properties.

    2. Choose Java Build Path from the lefthand side tree, and then choose the Libraries tab on the right.

    3. Click on the Add External JARs button and browse to the following directory: <NW_Dev_Studio_inst_dir>\eclipse\plugins\com.tssap.ext.libs.j2ee_1.3\lib

    4. Select connector.jar and choose Open.

    This adds the library and now the referenced type should be resolved.

    Regards,

    Ivo

    Add comment
    10|10000 characters needed characters exceeded