Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Dearmener opened this issue Jun 29, 2020 · 0 comments
Open

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

Dearmener opened this issue Jun 29, 2020 · 0 comments

Comments

@Dearmener
Copy link

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

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant