on 09-26-2007 8:10 PM
Hi,
I have couple of questions. We deployed a ear file with Library Package I developed.
I have included the provider.xml for your references in the bottom
I have included all the jar file. For some reason, I am getting error ->NoClassDefFoundError:com.sap.mw.jco.JCO
Here is the thing:
I have sapjco.jar under jars and also I have reference to com.sap.mw.jco.JCO.
I am guessing since I have both ...that is reason I am getting this error.
In my application J2ee engine ... I have this..Reference Target: com.sap.mw.jco
Reference Type: hard
Reference Target Type : Library
Provider Name: sap.com
Could you suggest what could be reason for my error.
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
<display-name>test</display-name>
<component-name>test</component-name>
<major-version>6</major-version>
<minor-version>40</minor-version>
<micro-version>0</micro-version>
<provider-name>test.com</provider-name>
<references>
<reference
provider-name="sap.com"
strength="weak"
type="library">com.sap.mw.jco</reference>
</references>
<jars>
<jar-name>LogonTicket.jar</jar-name>
<jar-name>com.sap.security.api.jar</jar-name>
<jar-name>com.sap.security.core.jar</jar-name>
<jar-name>com_sap_security_core_server_util0_IDException.jar</jar-name>
<jar-name>commons-fileupload-1.2.jar</jar-name>
<jar-name>sapjco.jar</jar-name>
<jar-name>commons-io-1.3.1.jar</jar-name>
<jar-name>displayElement.jar</jar-name>
<jar-name>iaik_jce.jar</jar-name>
<jar-name>log4j-1.2.8.jar</jar-name>
<jar-name>tc_sec_destinations_interface.jar</jar-name>
<jar-name>tc_sec_destinations_service.jar</jar-name>
<jar-name>xalan.jar</jar-name>
<jar-name>xercesImpl.jar</jar-name>
<jar-name>xml-apis.jar</jar-name>
</jars>
</provider-descriptor>
May be you haven't given the path of sapjco.jar file in your environment variables.set the classpath variable to the path of sapjco.jar file which will be in your jco folder which you might have installed.
You also have to set the path for your jco folder in path variable.
Ashima
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 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.