org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by Wilm Schomburg, 1 year ago
Transaction rolled back because it has been marked as rollback-only
via JIRA by Wilm Schomburg, 1 year ago
Transaction rolled back because it has been marked as rollback-only
via JIRA by Wilm Schomburg, 1 year ago
Transaction rolled back because it has been marked as rollback-only
via JIRA by Wilm Schomburg, 1 year ago
Transaction rolled back because it has been marked as rollback-only
via Atlassian JIRA by Lachlan Dally, 1 year ago
Transaction rolled back because it has been marked as rollback-only
via Atlassian JIRA by David Peterson, 1 year ago
Transaction has been rolled back because it has been marked as rollback-only
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at com.sun.proxy.$Proxy14.commit(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
66 times, 2 weeks ago
8 times, 1 year ago
5 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.