on 04-30-2008 7:01 AM
Hi Experts,
when i run the program...am not able to make out why the following error is coming?
Error:
Linkage Error at Java Mapping load() : Couldnot load class : javaclassname
Java.long.NoClassDefFoundError: javaclassname(wrongname : com/sap/javaclassname)
Reward points for helpful answers
Regards,
Yeswanth.
Hi Yeswanth,
Steps:
1) in IR Create imported archive
2) On your local machine: zip the JAVA-projekt (you must zip the projekt because of the paths!)
3) Open the zip file; delete the files you do not need (e.g..classpath)
4) Upload the file into imported archiv
5) in interface mapping select the approriate *.class
6) save and activate
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the java class name,class path and package name..
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you should upload your Java program again and activate the corresponding repository object.
It might be a cache problem.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you imported the java file when importing the archive file to Integration repository? Please check.
Regards,
Indira D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did u declare any package for ur java program?
if so then u need to create the folders in the that sequence and zip the same to load into XI as an archive file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are u sure ur class resides in com.sap package?
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
its clearly says that the class name is different and compiler is unable to find that calss name.
http://blogs.sun.com/sundararajan/entry/java_class_ic_errors
Compile your JAVA Mapping code , create the class file and compress in to jar file and then import that clas file under Imported Archives and use the same for mapping program in interface mapping.
how to compress class file to jar file?
in command promt go to perticular path where your class file is located.
type command
jar cvf [jar file name] [manifest-file].
regards,
pradeep A.
Edited by: Pradeep Amisagadda on Apr 30, 2008 9:13 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Error log saying that wrong class name.
please set the Class path .
regards
mahesh.
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.