on 10-12-2006 12:18 PM
Hi,
I am trying to connect to MDM server via Web Dynpro and have written the code for that.
I have imported the following files into build path:
MDM4J.jar, mdm-admin.jar, mdm-common.jar, mdm-core.jar, mdm-protocol.jar AND GenericConnector.jar
Problem is it gives me 2 errors at design time:
1. In the following line
IConnectionSpec spec = connectionFactory.getConnectionSpec();
It says that getConnectionSpec() is undefined for type IConnectionFactory.
2. This compilation unit indirectly references the missing type javax.resource.cci.ConnectionSpec (typically some required class file is referencing a type outside the classpath)
What could be the possible causes?
Do i need to add something else apart from adding JAR files to the project's build path?
After having connection to the MDM server i can get any version incompatibility issues, but at design time, i am not too sure what these errors mean?
Regards,
Dev.
Hi Dev,
it does not mean the Java code references all jars below, but in my NW04 MDM project's build path I use the following jar files (from EP + Eclipse):
connector.jar
logging.jar
GenericConnector.jar
prtapi.jar
com.sap.portal.admin.pcmobjectwizardtoolkit_api.jar
com.sap.portal.admin.wizardframework_api.jar
htmlb.jar
common.jar
com.sap.portal.ivs.api_portalpcm_api.jar
com.sap.portal.admin.propertyeditor_api.jar
com.sap.portal.statelesssessionservice_api.jar
com.sap.portal.ivs.api_iview_api.jar
activation.jar
jaxm-api.jar
mail.jar
saaj-api.jar
sapxmltoolkit.jar
webservices_lib.jar
servlet.jar
com.sap.security.api.jar
bc.uwl.service.api_api.jar
mdm-protocol.jar
MDM4J.jar
mdm-admin.jar
mdm-common.jar
mdm-core.jar
mdm-data.jar
com.sap.portal.ivs.api_landscape_api.jar
com.sap.portal.pcm.admin.apiservice_api.jar
jARMSat.jar
jARM.jar
portal_services_api_lib.jar
com.sap.portal.ivs.connectorservice_api.jar
Suggestions:
-use Java 1.4 ;
-look for jar files on your NW04s EP, put them into a folder, then use them as external libraries in your Eclipse build path. Probably your jar files from Eclipse are older than the ones from NW04s EP.
Other info:
-"Portal Connection Framework" https://media.sdn.sap.com/javadocs/NW04/SPS15/bi/docs/com/sap/ip/bi/sdk/dac/connector/package-summar...
Regards.
Laszlo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.