Vervatovskis
Vervatovskis

Reputation: 2367

Could not find class 'org.codehaus.jackson.map.ObjectMapper'?

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.

Upvotes: 3

Views: 6865

Answers (1)

MKJParekh
MKJParekh

Reputation: 34301

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.

Upvotes: 4

Related Questions