DEV Community

Discussion on: java.util.LinkedHashMap cannot be cast issue

Collapse
 
grajaa profile image
grajaa

Hi I am getting following error in my react js application how to resolve it
java.util.LinkedHashMap cannot be cast to com.resources.pojo.GenericReference (through reference chain: com.resources.pojo.Company["companyMsas"]->java.util.ArrayList[0]->com.espn.playbook.resources.pojo.CompanyMsa["contractType"])

Collapse
 
jorge_rockr profile image
Jorge Ramón

What are you using in Backend? Java Spring or something?

Collapse
 
puritanic profile image
Darkø Tasevski

This looks like a backend problem, not sure if React has anything to do with it... You can try googling issue, this was my first hit in results:
stackoverflow.com/questions/288217...