1

I have extracted a jar file and then zipped the classes to jar again. The jar is then added to libs folder of my android project.The problem is the class is found at compile time.But at run time it says one class in the jar is not found.

Could not find class 'org.ksoap2.serialization.SoapSerializationEnvelope', referenced from 
method com.globaleyeventures.eyexam.Data.SOAPConnection.SOAPConnection.SOAPConnect
GrIsHu
  • 28,433
  • 10
  • 61
  • 99
ArathyAnand
  • 65
  • 1
  • 7

1 Answers1

1

Go to the properties of the project by right clicking on the project. Then go to Java build path and then Order and Export tab. See if the jar included is checked. If not then check it and clean your project again and run.

Kunal Yadav
  • 109
  • 1
  • 6
  • It is there in the build path, that is why it is getting at compile time. – ArathyAnand Nov 21 '13 at 04:57
  • I also got the same problem by putting jar in the libs folder. It was getting compiled but not able to find the class during the runtime. Turned out the corresponding libraries were not marked checked in the order and export tab. – Kunal Yadav Nov 21 '13 at 05:28