Exception when calculating the envelope of gml file
Closed this issue · 0 comments
lesquoyb commented
Describe the bug
Running the model GMFILE Import.gaml
in library models, I discovered that it is now failing at init with this message:
2 occurrences in 2 agents at cycle 0: Java error: NoClassDefFoundError
in Simulation 0
in geometry shape <- envelope(gml_file_roads) ;
NoClassDefFoundError: org/apache/commons/io/IOUtils
org.geotools.xsd.Schemas.readUriResource(Schemas.java:334)
org.geotools.xsd.Schemas.parse(Schemas.java:285)
org.geotools.xsd.Schemas.parse(Schemas.java:256)
org.geotools.xsd.Schemas.parse(Schemas.java:216)
org.geotools.xsd.XSD.buildSchema(XSD.java:233)
org.geotools.gml3.GML.buildSchema(GML.java:3487)
org.geotools.xsd.XSD.getSchema(XSD.java:186)
when applying the envelope operator on msi.gama.util.file.GamaGMLFile@3d4eb2f3
in initializing attribute shape
in agents Simulation 0, GIS_agentification0
To Reproduce
Steps to reproduce the behavior:
- Go to
GMFILE Import.gaml
- Run the model
- See error
Desktop (please complete the following information):
- OS: windows 11
- GAMA version: 1.9.2