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 David Muñoz
, 1 year ago
via Stack Overflow by Maharudrappa A
, 3 months ago
no transaction is in progress
via wordpress.com by Unknown author, 1 year ago
via renren.io by Unknown author, 2 years ago
via Stack Overflow by Dhorium
, 2 years ago
via Stack Overflow by Buddha
, 1 year ago
no transaction is in progress
javax.persistence.TransactionRequiredException: no transaction is in progress	at org.hibernate.jpa.spi.AbstractEntityManagerImpl.checkTransactionNeeded(AbstractEntityManagerImpl.java:1136)	at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1297)	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.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:347)	at com.sun.proxy.$Proxy56.flush(Unknown Source)	at org.springframework.batch.item.database.JpaItemWriter.write(JpaItemWriter.java:84)	at org.springframework.batch.core.step.item.SimpleChunkProcessor.writeItems(SimpleChunkProcessor.java:175)	at org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:151)	at org.springframework.batch.core.step.item.SimpleChunkProcessor.write(SimpleChunkProcessor.java:274)	at org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:199)	at org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:75)	at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:406)	at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:330)	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)	at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:271)	at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:81)	at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:374)	at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)	at org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:144)	at org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:257)	at org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:200)	at org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:148)	at org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)	at org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:67)	at org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:169)	at org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:144)	at org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:134)	at org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:306)	at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:135)	at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)	at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:128)	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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)	at org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration$PassthruAdvice.invoke(SimpleBatchConfiguration.java:127)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)	at com.sun.proxy.$Proxy63.run(Unknown Source)	at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.execute(JobLauncherCommandLineRunner.java:216)	at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.executeLocalJobs(JobLauncherCommandLineRunner.java:233)	at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.launchJobFromProperties(JobLauncherCommandLineRunner.java:125)	at org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.run(JobLauncherCommandLineRunner.java:119)	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798)	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:782)	at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:769)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)	at es.dmunozfer.example.batch.SpringBatchTwoDatabasesExampleApplication.main(SpringBatchTwoDatabasesExampleApplication.java:12)