이클립스에서 JFreeChart를 사용하기 위해 import시키면 다음과 같은 에러에 직면할 수 있다.

The project was not built since its build path is incomplete. Cannot find the class file for org.jfree.util.PublicCloneable. Fix the build path then try building this project

The type org.jfree.util.PublicCloneable cannot be resolved. It is indirectly referenced from required .class files

이는 JCommon 라이브러리의 CLASSPATH가 안 잡혀있기 때문이다. JCommon 라이브러리는 JFreeChart에 포함되어 있으므로 찾아서 포함시켜주면 해결된다.

Posted by 알 수 없는 사용자
,