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 maenu
, 1 year ago
via Stack Overflow by mbosecke
, 2 years ago
via Stack Overflow by user
, 3 months ago
java.lang.IllegalStateException: Transaction synchronization is not active	at org.springframework.transaction.support.TransactionSynchronizationManager.registerSynchronization(TransactionSynchronizationManager.java:291)	at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:389)	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.AbstractJob.handleStep(AbstractJob.java:392)	at org.springframework.batch.core.job.SimpleJob.doExecute(SimpleJob.java:135)	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(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	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.$Proxy44.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 com.example.DemoApplication.main(DemoApplication.java:10)