Как убрать зависимость из другой зависимости
Например:
Я использую родительский дочерний проект в maven. Когда я создаю сборку основного модуля jar
, у меня нет проблем, но когда я создаю дочерний maven модуль jar
, я получаю ошибку при запуске приложения.
2019-01-03 17:46:56.100 INFO 9764 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2019-01-03 17:46:56.215 INFO 9764 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
roup.com:9092 (id: 2147483647 rack: null)
2019-01-03 17:46:56.229 ERROR 9764 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
>***************************
APPLICATION FAILED TO START
***************************
Description:
The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.
Action:
Verify the connector's configuration, identify and stop any process that's listening on port 8080, or configure this application to listen on another port.
Так что любой способ удалить зависимость.