java.lang.ClassCastException: it.unitn.disi.sweb.webapi.model.eb.Entity cannot be cast to it.unitn.disi.sweb.webapi.model.eb.Structure

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by DavidLeoni
, 1 year ago
it.unitn.disi.sweb.webapi.model.eb.Entity cannot be cast to it.unitn.disi.sweb.webapi.model.eb.Structure
java.lang.ClassCastException: it.unitn.disi.sweb.webapi.model.eb.Entity cannot be cast to it.unitn.disi.sweb.webapi.model.eb.Structure
at eu.trentorise.opendata.disiclient.services.EntityService.readStructure(EntityService.java:298)
at eu.trentorise.opendata.disiclient.model.entity.EntityODR.(EntityODR.java:186)
at eu.trentorise.opendata.disiclient.model.entity.EntityODR.(EntityODR.java:193)
at eu.trentorise.opendata.disiclient.services.EntityService.readEntities(EntityService.java:234)
at eu.trentorise.opendata.opendatarise.ekb.EntityServiceController.readEntities(EntityServiceController.java:174)
at eu.trentorise.opendata.opendatarise.commands.ReadEntitiesCommand.doGet(ReadEntitiesCommand.java:46)
at com.google.refine.RefineServlet.service(RefineServlet.java:533)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.