CorruptedTransactionLogException:找到损坏的日志

时间:2019-04-19 05:49:27

标签: spring-boot

当我启动Spring Boot应用程序时,出现类似错误

  

bitronix.tm.journal.CorruptedTransactionLogException:在位置520448上找到损坏的日志(未找到记录终止符)               在bitronix.tm.journal.TransactionLogCursor.readLog(TransactionLogCursor.java:102)               在bitronix.tm.journal.TransactionLogCursor.readLog(TransactionLogCursor.java:67)               在bitronix.tm.journal.DiskJournal.collectDanglingRecords(DiskJournal.java:363)               在bitronix.tm.journal.DiskJournal.collectDanglingRecords(DiskJournal.java:210)               在bitronix.tm.recovery.Recoverer.run(Recoverer.java:128)               在bitronix.tm.BitronixTransactionManager处(BitronixTransactionManager.java:87)               在bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:75)               在org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration.bitronixTransactionManager(BitronixJtaConfiguration.java:100)               在org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration $$ EnhancerBySpringCGLIB $$ 819e4b58.CGLIB $ bitronixTransactionManager $ 2()               在org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration $$ EnhancerBySpringCGLIB $$ 819e4b58 $$ FastClassBySpringCGLIB $$ 88ec44ea.invoke()               在org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)               在org.springframework.context.annotation.ConfigurationClassEnhancer $ BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363)处               在org.springframework.boot.autoconfigure.transaction.jta.BitronixJtaConfiguration $$ EnhancerBySpringCGLIB $$ 819e4b58.bitronixTransactionManager()               在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处               在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)               在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)               在java.lang.reflect.Method.invoke(Method.java:498)               在org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)               在org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)               在org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:607)               在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288)               在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127)               在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)处               在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498)处               在org.springframework.beans.factory.support.AbstractBeanFactory.lambda $ doGetBean $ 0(AbstractBeanFactory.java:320)               在org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)               在org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)               在org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)               在org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:273)               在org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1237)               在org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1164)               在org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)               在org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)               在org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:509)               在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1288)               在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1127)

任何想法我导致错误的原因以及如何解决?

先谢谢你 预先谢谢你

0 个答案:

没有答案