从其他依赖项中删除依赖项?

时间:2019-01-03 12:27:35

标签: java maven

如何从其他依赖项中删除依赖项

例如:
   我在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.

以任何方式消除依赖关系。

0 个答案:

没有答案
相关问题