geoscript-groovy icon indicating copy to clipboard operation
geoscript-groovy copied to clipboard

Missing org/jfree/chart/JFreeChart

Open blackrez opened this issue 5 years ago • 2 comments

Hello,

I'm trying to us geoscript for a very simple project but at the compilation, build fails.

➜  prj2epsg-ng ./gradlew run   

> Task :compileGroovy FAILED
startup failed:
General error during instruction selection: java.lang.NoClassDefFoundError: Unable to load class geoscript.plot.ViewerExtensionModule due to missing dependency org/jfree/chart/JFreeChart

java.lang.RuntimeException: java.lang.NoClassDefFoundError: Unable to load class geoscript.plot.ViewerExtensionModule due to missing dependency org/jfree/chart/JFreeChart

blackrez avatar Apr 18 '19 09:04 blackrez

It sounds like the jfree chart dependency is missing.

https://mvnrepository.com/artifact/jfree/jfreechart/1.0.10

It should be pulled in transitively unless you are excluding the gt-charts geotools module.

jericks avatar Apr 21 '19 20:04 jericks

Thanks I can build now. Is there an solutions to avoid build jfree chart ?

blackrez avatar Apr 26 '19 08:04 blackrez