我正在使用jackson json解析器,当我声明时我添加了“jackson-all-1.9.3.jar”
ObjectMapper objectMapper = null;
编译器识别它,但是当我在模拟器上运行我的应用程序时,我得到了这个错误。
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
我应该怎么做才能解决它谢谢。