Skip to content

第二次点击电影详情时报错 #2

Open
@Dearmener

Description

@Dearmener

第二次点击电影详情时报错

This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Jun 30 00:40:37 CST 2020
There was an unexpected error (type=Internal Server Error, status=500).
com.lin.model.Movie cannot be cast to com.lin.model.Movie
java.lang.ClassCastException: com.lin.model.Movie cannot be cast to com.lin.model.Movie
	at com.lin.service.impl.MovieServiceImpl$$EnhancerBySpringCGLIB$$ec782ccc.getById(<generated>)
	at com.lin.controller.MovieController.view(MovieController.java:96)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions