Код: Выделить всё
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'testController': Unsatisfied dependency expressed through field 'testService': Error creating bean with name 'testService': Lookup method resolution failedКод: Выделить всё
And also getting
Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.package.service.b] from ClassLoader [ParallelWebappClassLoader
delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@48533e64
]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:483)
at org.springframework.util.ReflectionUtils.doWithLocalMethods(ReflectionUtils.java:320)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.checkLookupMethods(AutowiredAnnotationBeanPostProcessor.java:475)
... 72 more
Caused by: java.lang.VerifyError: Expecting a stackmap frame at branch target 466
Версия Java: 21
Версия Spring Boot: 3.3.0
Тип упаковки: WAR
Сервер: Tomcat 10
Версия ProGuard: 7.7.0
Я ориентируюсь на на данный момент запутываю только уровни контроллера и сервиса.
Ниже приведены мои зависимости ProGuard в pom.xml:
com.guardsquare
proguard-base
7.7.0
runtime
com.guardsquare
proguard-core
9.1.10
< /code>
Я ожидал, что запутываемая война будет нормально начаться в Tomcat, и приложение должно работать идеально. Могу ли я правильно настроить Proguard, чтобы запутать свой контроллер и классы обслуживания без нарушения впрыскивания зависимости пружины?
Подробнее здесь: https://stackoverflow.com/questions/797 ... thod-resol
Мобильная версия