wugalde19 / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

J2ME - Classes are compiled with Java 1.6 target #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I get a Verifier error when preverifying the class for J2ME:

Error preverifying class org.ksoap2.serialization.SoapSerializationEnvelope
    VERIFIER ERROR org/ksoap2/serialization/
SoapSerializationEnvelope.readInstance(Lorg/xmlpull/v1/XmlPullParser;Ljava/
lang/String;Ljava/lang/String;Lorg/ksoap2/serialization/
PropertyInfo;)Ljava/lang/Object;:
Illegal type in constant pool

Error preverifying class org.kobjects.xmlrpc.Driver
    VERIFIER ERROR org/kobjects/xmlrpc/Driver.main([Ljava/lang/String;)V:
Cannot find class java/io/FileReader

The classes in the repo should be compiled with the target 1.1/source 1.3 
switch.

                    <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.3</source>
                        <target>1.1</target>
                    </configuration>
                </plugin>

I guess for the base, the midp and the extras modules this switch is 
enough.

Original issue reported on code.google.com by Karsten....@googlemail.com on 28 Jan 2010 at 1:57

GoogleCodeExporter commented 9 years ago
Sorry there but--as the project name indicates--this is a port for the Android
platform, not J2ME.  Please feel free to fork the GitHub project yourself and 
steal
the Maven setup, though.

Original comment by karl.mic...@gmail.com on 22 Feb 2010 at 12:11