Property or field ‘Title‘ cannot be found on object of type

Do is a post function, post can be displayed after the details, the error is in the post after clicking the error
first of all, the meaning of the question is that the “title” attribute cannot be found in the list class, which means that the data is queried, but the title attribute cannot be found
after re checking one side of the code, it is found that there is no problem, that is, the method return type of the POJO class in the Dao layer is not written correctly. I wrote the list type at that time, but all I want to display is a message. List is a collection type, which can’t be found. Therefore, you can change the list type to the entity type consult.

Read More: