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:
- C ා programming encountered an object reference is required for the non-static field, method, or property error
- Type error: the JSON object must be STR, bytes or byte array, not ‘textiowrapper’
- error TS2339:Property ‘length’ does not exist on type ‘object’
- Error in installing torch vision or pilot on Linux or Jetson nano: the headers or library files could not be found for JPEG
- TypeError: object of type ‘builtin_function_or_method’ has no len()
- On the usage of ‘ref.stor.type search’ field in SAP WM movement type
- How to remove the title bar (using the request window feature)( Window.FEATURE_ NO_ Title); why it fails)
- [Android] using request window feature( Window.FEATURE_ NO_ Title) method to remove the title invalid solution
- Use xx [‘xx ‘] = XX to set field value or does not support field: XXX
- SqlNullValueException: Data is Null. This method or property cannot be called on Null values.
- Error: property ‘TZ’ does not exist on type ‘type of moment’
- typeerror:the josn object must be str,bytes or byteearray,not ‘dict‘
- Error record: this.requestWindowFeature ( Window.FEATURE_ NO_ Title) error or no effect
- The main class com.hp.springbootapplication cannot be found or loaded
- The background object of thymeleaf is null, which solves the problem of error when the object is empty to get the property value
- TypeError: object of type ‘Cursor‘ has no len()
- Error: the main class usertest could not be found or loaded
- How to Solve mybatis returns null when querying Oracle database with char type field
- The main class could not be found or loaded when springboot started
- Error attempting to get column ‘xxxxx’ from result set — after Lombok is annotated with builder, mybatis cannot recognize the correct type of field