on 03-08-2005 5:44 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.