Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Dear All,

i had an Class file which is developed on java libraries. and I tried to convert to .Net Framework 3.5 from IKVM tool. and i got the DLL file as we expected and i face some error on command prompt while extracting the Class file.

However, i got DLL file, but when im trying to adding in reference, and tried to call methods in application, its not responding..!!

ERROR on extracting:

C#
D:\Mubarak\etisalat\IKVM\ikvm-7.2.4630.5\bin>ikvmc -target:library D:\Mubarak\et
isalat\ae\billingadapter\etisalat\www\_1_0\ChargeImmediatelyResponse.class
IKVM.NET Compiler version 7.2.4630.5
Copyright (C) 2002-2012 Jeroen Frijters
http://www.ikvm.net/

note IKVMC0002: Output file is "ChargeImmediatelyResponse.dll"
warning IKVMC0100: Class "org.apache.axis.description.TypeDesc" not found
warning IKVMC0100: Class "ae.billingadapter.etisalat.www._1_0.AdditionalResponse
" not found
warning IKVMC0100: Class "org.apache.axis.description.ElementDesc" not found
warning IKVMC0100: Class "org.apache.axis.description.FieldDesc" not found
warning IKVMC0100: Class "org.apache.axis.encoding.ser.BeanSerializer" not found

warning IKVMC0100: Class "org.apache.axis.encoding.ser.BeanDeserializer" not fou
nd
warning IKVMC0100: Class "org.apache.axis.encoding.Serializer" not found
warning IKVMC0100: Class "org.apache.axis.encoding.Deserializer" not found
warning IKVMC0111: Emitted java.lang.NoClassDefFoundError in "ae.billingadapter.
etisalat.www._1_0.ChargeImmediatelyResponse.getAdditionalResponseList(I)Lae.bill
ingadapter.etisalat.www._1_0.AdditionalResponse;"
    ("[Lae.billingadapter.etisalat.www._1_0.AdditionalResponse;")
warning IKVMC0111: Emitted java.lang.NoClassDefFoundError in "ae.billingadapter.
etisalat.www._1_0.ChargeImmediatelyResponse.setAdditionalResponseList(ILae.billi
ngadapter.etisalat.www._1_0.AdditionalResponse;)V"
    ("[Lae.billingadapter.etisalat.www._1_0.AdditionalResponse;")
warning IKVMC0111: Emitted java.lang.NoClassDefFoundError in "ae.billingadapter.
etisalat.www._1_0.ChargeImmediatelyResponse.getSerializer(Ljava.lang.String;Ljav
a.lang.Class;Ljavax.xml.namespace.QName;)Lorg.apache.axis.encoding.Serializer;"
    ("org.apache.axis.encoding.ser.BeanSerializer")
warning IKVMC0111: Emitted java.lang.NoClassDefFoundError in "ae.billingadapter.
etisalat.www._1_0.ChargeImmediatelyResponse.getDeserializer(Ljava.lang.String;Lj
ava.lang.Class;Ljavax.xml.namespace.QName;)Lorg.apache.axis.encoding.Deserialize
r;"
    ("org.apache.axis.encoding.ser.BeanDeserializer")
warning IKVMC0111: Emitted java.lang.NoClassDefFoundError in "ae.billingadapter.
etisalat.www._1_0.ChargeImmediatelyResponse.<clinit>()V"
    ("org.apache.axis.description.TypeDesc")


C#.net ERROR :

i tried to add as namespace like using ChargeImmediatelyResponse, and it gives me error like
VB
Error   13  The type or namespace name 'StartChargingResponse' could not be found (are you missing a using directive or an assembly reference?) 



Please help me on this issue. I'm in critical situation.

Any help will be much more appreciated.

Regards,
Mubarak
Posted
Updated 28-Sep-13 21:52pm
v2
Comments
Richard MacCutchan 29-Sep-13 3:56am    
You should talk to the people who created the Java code or the conversion tool.
Also the C# error message tells you what is missing.

1 solution

This is not a .Net error.
The missing packages are from a third-party (not a part of the JVM's api), and the conversion tool can't find them.
Check the conversion tool's documentation to find more about how to mange CLASSPATH.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900