java缓存依赖项不适用于更高版本的Tomcat 9.0.37,同样适用于9.0.20
在上下文初始化期间-取消刷新尝试:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'taxLotsController': Unsatisfied dependency expressed through field 'taxLotsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taxLotsServiceImpl': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.frk.fds.api.service.impl.TaxLotsServiceImpl] from ClassLoader [ParallelWebappClassLoader
# 1 楼答案
请检查您对pom的依赖性。xml可能会出现一些依赖性问题:
你可以试试这个:
也许你的
TaxLotsServiceImpl
类指的是另一个类,即,现在不见了。 请找出这些缺失的依赖项(如果有)