【Java】SpringBoot启动类报错,有什么办法解决吗?

【Java】SpringBoot启动类报错,有什么办法解决吗?

【Java】SpringBoot启动类报错,有什么办法解决吗?
Description Resource Path Location Type
Class dependency error 'javax/persistence/EntityManagerFactory'
occurred on aspect definition 'Aspect definition
[insight-flow-providersrcmainjavacomcninsightcreditflowaspectCustomLogAspect.java:25]
advise type [after-returning] advise [com.cn.insightcredit.flow.aspect.CustomLogAspect.afterReturning(java.lang.Object)]'
while processing bean 'org.activiti.spring.boot.JpaProcessEngineAutoConfiguration$JpaConfiguration (16)
[org.activiti.spring.boot.JpaProcessEngineAutoConfiguration$JpaConfiguration]'.
Check if builder classpath is complete FlowBootStrap.java /insight-flow-provider/src/main/java/com/cn/insightcredit line 16
Spring AOP Problem

回答

把@EnableAspectJAutoProxy去掉试试

暂时解决方案:去掉spring 的aop扩展

请问这个怎么解决的呢?

以上是 【Java】SpringBoot启动类报错,有什么办法解决吗? 的全部内容, 来源链接: utcz.com/a/89820.html

回到顶部