2013-06-05 4 views
1

gwt 프로젝트에 gflot을 다운로드했습니다. 라이브러리를 알기 위해 "FlotDemo"라는 테스트 프로젝트를 만들었습니다. 내가 Eclipse를 사용하고 프로젝트 생성 마법사 (인사말 서블릿 등으로 물건)의 도움으로 일반 바닐라 GWT 프로젝트를 생성하고 있습니다GWT 프로젝트에 gFlot 라이브러리를 추가 할 수 없습니다.

이것은 내가 무슨 짓을 :

  1. 다운로드 gflot- 3.1.1.jar 및 lib 디렉토리/전쟁/WEB-INF/프로젝트 -에서
  2. 추가> 속성 -> 자바로 복사 내 "FlotDemo의 경로
  3. 추가 <inherits name="ca.nanometrics.gflot.GFlot"/>에 경로 -> 라이브러리 gflot-단지를 구축 할 수 있습니다. gwt.xml "
  4. gFlot example으로 이동하여 내 Entr에 붙여 넣었습니다. yPoint 클래스

그래서 4 단계 이후에 일식은 이상하게도 코드에서 사용한 gflot의 개체를 해결할 수 없습니다. 나는 GWT 시뮬레이터 어쨌든 웹 응용 프로그램을 실행하려고하지만 오류 메시지와 함께 종료 :

2013-06-05 17:24:51.212 java[12069:707] [Java CocoaComponent compatibility mode]: Enabled 
2013-06-05 17:24:51.213 java[12069:707] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000 
Loading modules 
    flotdemo.FlotDemo 
     Loading inherited module 'flotdemo.FlotDemo' 
     Loading inherited module 'ca.nanometrics.gflot.GFlot' 
      [ERROR] Unable to find 'ca/nanometrics/gflot/GFlot.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? 
     [ERROR] Line 11: Unexpected exception while processing element 'inherits' 
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) 
    at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:308) 

내가 잘못 여기서 뭐하는 거지?

답변

2

<inherits name="ca.nanometrics.gflot.GFlot"/>은 오래된 것입니다.

3.0 이후로는 <inherits name='com.googlecode.gflot.GFlot'/>을 사용하십시오.

example을 참조하십시오.

+0

도움 주셔서 감사합니다. – toom

관련 문제