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 broadleafcommerce.org by Unknown author, 2 years ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
via broadleafcommerce.org by Unknown author, 1 year ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
via Google Groups by Unknown author, 10 months ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
via Stack Overflow by Sepehr GH
, 1 year ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction
via Stack Overflow by Priya Nalang
, 3 weeks ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
via Stack Overflow by giulius
, 2 years ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
javax.persistence.RollbackException: Transaction marked as rollbackOnly	at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:73)	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:512)	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)	at org.broadleafcommerce.test.MergeTransactionalTestExecutionListener$TransactionContext.endTransaction(MergeTransactionalTestExecutionListener.java:514)	at org.broadleafcommerce.test.MergeTransactionalTestExecutionListener.endTransaction(MergeTransactionalTestExecutionListener.java:287)	at org.broadleafcommerce.test.MergeTransactionalTestExecutionListener.afterTestMethod(MergeTransactionalTestExecutionListener.java:180)	at org.springframework.test.context.TestContextManager.afterTestMethod(TestContextManager.java:406)	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextAfterTestMethod(AbstractTestNGSpringContextTests.java:179)	at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:607)	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:417)	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:154)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:669)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:956)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)	at org.testng.TestRunner.runWorkers(TestRunner.java:759)	at org.testng.TestRunner.privateRun(TestRunner.java:592)	at org.testng.TestRunner.run(TestRunner.java:486)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)	at org.testng.SuiteRunner.run(SuiteRunner.java:204)	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:877)	at org.testng.TestNG.runSuitesLocally(TestNG.java:842)	at org.testng.TestNG.run(TestNG.java:751)	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158)	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98)	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)