2012-04-16 2 views
3

, 나는 그것을 인식'org.codehaus.jackson.map.ObjectMapper'클래스를 찾을 수 없습니다? 내가 잭슨 JSON 파서를 사용하고

ObjectMapper objectMapper = null; 

컴파일러를 선언하지만 난 에뮬레이터에 내 응용 프로그램을 실행할 때 내가 얻을 때, "잭슨 - 모든-1.9.3.jar"를 추가했습니다 이 오류.

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 

고맙습니다. 고맙습니다.

+1

http://stackoverflow.com/questions/10005206/twitter4j-androidruntime446-java-lang-noclassdeffounderror-twitter4j-http/10007966#10007966이 그것을 감사합니다 :) – MKJParekh

+0

수 있습니다 내 폴더 이름은 처음부터 libs이다 – Vervatovskis

답변

4

ADT 17을 업데이트하면 폴더 이름을 lib에서 libs으로 변경해야합니다.

체크 아웃 this 주제에 대한 자세한 내용은 Article입니다.

+0

난 아직이 오류를 얻고있다 인 경우 – Signcodeindie

+0

알았어. libs 폴더에 jar 파일을 복사해야했다. 감사! – Signcodeindie

관련 문제