Home > Back-end >  Jdk1.8 spring boot spring JDBC but found out there are data into a Map won't get it
Jdk1.8 spring boot spring JDBC but found out there are data into a Map won't get it

Time:02-08





As shown, the capital also tried, alias has tried, now is jdk1.8, everybody is bosses look at why

CodePudding user response:

See if you the object implements the serializable interface

CodePudding user response:

reference 1st floor KeepSayingNo response:
see if you the object implements the serializable interface

Which object..

CodePudding user response:

I feel because of the Map implementation class is wrong, zha implementation class to see the Map m, previously encountered a class Map, rewrite the get method, strong go directly to the Map, calling the get method error, I think is a problem, the original poster can screen,

CodePudding user response:

refer to the original poster Adooooox response:
, as shown in the figure capital also tried, alias has tried, now is jdk1.8, your bosses and see why it is



 

The Map m=(Map) list. The get (I);


This Map should be written by yourself, it have a look, it is estimated that there are problems,

CodePudding user response:

reference 5 floor qq_39936465 reply:
Quote: refer to the original poster Adooooox response:


As shown, the capital also tried, alias has tried, now is jdk1.8, your bosses and see why it is



 

The Map m=(Map) list. The get (I);


The Map should be written by yourself, it have a look, it is estimated that there are problems,



No, oh is Java. Util. Map, and there is no 4th floor said inherits the Map to rewrite the get method, strong is very ordinary

CodePudding user response:

This code at the time of spring - spring MVC - hibernate is normal, recently upgraded to spring - the boot, and then appear this problem
  • Related