Когда я запускаю приложения, я получаю следующее исключение:
Код: Выделить всё
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'QueryHandler' defined in file [C:\Users\dummy\project-v1\target\classes\com\leo\stio\rdc\service\QueryHandler.class]: org/slf4j/LoggerFactory
...
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
...
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
...
Код: Выделить всё
org.slf4j
slf4j-api
2.0.16
Код: Выделить всё
java.lang.ClassCastException: class org.apache.logging.log4j.core.Logger cannot be cast to class org.slf4j.Logger (org.apache.logging.log4j.core.Logger and org.slf4j.Logger are in unnamed module of loader 'app')
...
Код: Выделить всё
org.apache.logging.log4j
log4j-slf4j2-impl
2.24.3
Код: Выделить всё
org.apache.logging.log4j
log4j-core
2.24.3
org.apache.logging.log4j
log4j-api
2.24.3
org.apache.logging.log4j
log4j-slf4j2-impl
2.24.3
org.slf4j
slf4j-api
2.0.16
org.apache.mina
mina-core
2.2.4
Несмотря на эти усилия, проблема остается. Будем очень признательны за любую помощь или предложения по решению этой проблемы.
Подробнее здесь: https://stackoverflow.com/questions/793 ... eption-whe
Мобильная версия