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 Stack Overflow by dwix
, 1 year ago
via Stack Overflow by Mehdi
, 2 years ago
Transaction marked as rollbackOnly
via GitHub by tomcgn
, 1 year ago
Transaction marked as rollbackOnly
via Stack Overflow by Durga
, 1 month ago
via hibernate.org by Unknown author, 2 years ago
javax.persistence.RollbackException: Transaction marked as rollbackOnly	at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:74)	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517)	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)	at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:485)	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)	at com.controllers.HelloWorldController$$EnhancerBySpringCGLIB$$353623dc.processExcel()	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:832)	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:743)	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:869)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)