on 02-11-2009 10:11 AM
Dear all,
I am working with java mapping and developed my jar file using netbeans 5.5.
In xi I imported jar file into imported archive, here I am getting 2 file .java and .class file,
and than used this imported jar file while defining interface mapping by selecting mapping program type as java class.
When I am testing this Interface mapping using test tab it is showing error
u201CLinkage error occurred when loading class map/mapping (http://javamap, acc65010-cada-11da-c1c1-e631ac10b8d9, -1u201D
I tested my mapping program at netbeans by just putting main function into the program .it generating perfect XML what I required.
Please help me why this error is coming.
regards, navneet
Use Java 1.4 version for Compiling and JAR formation in Netbeans.
- Gujjeti.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Navneet,
Please check the note 755302, in case you do not have access to marketplace, below is the content of the note.
The LINKAGE_ERROR error occurs during the mapping.
The trace contains "java.lang.NoClassDefFoundError: Illegal name":
As of the jdk 1.4.2_05 from Sun, this program error occurs during the mapping in the runtime or during testing in the Repository. This error may also occur in conjunction with jdks of other vendors or other versions.
The error is corrected with Support Package 5 for Support Package 03 for the XI TOOLS 3.0 software component.
Hope this is Useful...
Even I faced a Similar Problem...
Best regards,
Sainath Chutke
Edited by: Sainath Chutke on Feb 11, 2009 2:08 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sainath,
thanks all of u for replying my Query.
i able to resolve the issue , i solved the prob as follows.
I am using Netbeans 5.5 and the default jdk is 1.5. i compiling my java file and than generated the jar file. when i am using this .jar file in my xi it is showing linkage error, because my XI 3.0 supporting the jdk version 1.4 and hence it is showing linkage error.
to solve this i installed JDK 1.4 and used this version to compile and generate .jar file it worked perfectly.
to use different jdk version at netbeans go to your project -
> right click and than go to properties tab. than at left hand side select libraries----at top right select manage platformclick add platform- select the jdk version here and follow the wizard.
regards, navneet
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.