Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Christopher Smith, 1 year ago
The mapped controller method class 'com.artsquare.gallery.web.html.WorkHtmlController' is not an instance of the actual controller bean instance 'com.sun.proxy.$Proxy135'. If the controller requires proxying (e.g. due to @Transactional), please use
via Spring JIRA by Christopher Smith, 2 years ago
The mapped controller method class 'com.artsquare.gallery.web.html.WorkHtmlController' is not an instance of the actual controller bean instance 'com.sun.proxy.$Proxy135'. If the controller requires proxying (e.g. due to @Transactional), please use
java.lang.IllegalStateException: The mapped controller method class 'com.artsquare.gallery.web.html.WorkHtmlController' is not an instance of the actual controller bean instance 'com.sun.proxy.$Proxy135'. If the controller requires proxying (e.g. due to @Transactional), please use class-based proxying.
HandlerMethod details: 
Controller [com.artsquare.gallery.web.html.WorkHtmlController]
Method [public java.lang.Object com.artsquare.gallery.web.html.WorkHtmlController.createForm()]
Resolved arguments: 	at org.springframework.web.method.support.InvocableHandlerMethod.assertTargetBean(InvocableHandlerMethod.java:261)	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:224)	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:111)	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:799)	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:728)	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969)