3

I am using jackson json parser, i've added "jackson-all-1.9.3.jar", when i declare

ObjectMapper objectMapper = null;

The compiler recognize it but when i run my application on the emulator i get this error.

04-16 16:27:13.037: I/System.out(435): waiting for debugger to settle...
04-16 16:27:13.245: I/System.out(435): debugger has settled (1417)
04-16 16:27:13.734: E/dalvikvm(435): Could not find class 'org.codehaus.jackson.map.ObjectMapper', referenced from method com.test.weather.GetweatherInfo.<init>
04-16 16:27:13.734: W/dalvikvm(435): VFY: unable to resolve new-instance 45 (Lorg/codehaus/jackson/map/ObjectMapper;) in Lcom/test/weather/GetweatherInfo

What should i do to fix it thanks.

Vervatovskis
  • 2,277
  • 5
  • 29
  • 46
  • 1
    http://stackoverflow.com/questions/10005206/twitter4j-androidruntime446-java-lang-noclassdeffounderror-twitter4j-http/10007966#10007966 might be the case – MKJParekh Apr 16 '12 at 09:13

1 Answers1

4

You need to change your Folder name from lib to libs as you have updated ADT 17.

Checkout this Article for in detail information on this topic.

MKJParekh
  • 34,073
  • 11
  • 87
  • 98