To see the full stack trace of the errors, re-run Maven with the -e switch.

简介: 问题描述微服务项目中其它模块不能依赖common模块中的依赖 而common中是有依赖的

问题描述


微服务项目中其它模块不能依赖common模块中的依赖 而common中是有依赖的3b616cb7582145f1855dbf6b235ca180.png


然后重新对common进行install发现报错2321db4fdbd143b097e7990df29233f2.png

原因分析:


经过查找是由于common中的pom.xml中有一个依赖被引入了两次

删掉其中一个即可

相关文章
|
2月前
|
C++ Windows
vs2019 This application failed to start because it could not find or load the QT platform plugin
这篇文章介绍了在VS2019中解决QT程序运行时出现的“无法找到或加载QT平台插件”错误的步骤,通过将必要的DLL文件和插件目录复制到项目解决方案中解决了问题。
|
5月前
|
Java 应用服务中间件
完美解决tomcat启动异常:Invalid byte tag in constant pool: 19;Unable to process Jar entry [module-info.class]
完美解决tomcat启动异常:Invalid byte tag in constant pool: 19;Unable to process Jar entry [module-info.class]
1135 0
|
5月前
解决运行qmake:Project ERROR: Cannot run compiler ‘cl‘. Output:
解决运行qmake:Project ERROR: Cannot run compiler ‘cl‘. Output:
563 0
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
118 0
|
Java Maven
maven teavm-idea-artifacts: Command execution failed.: Process exited with an error: 1 Exit value: 1
maven teavm-idea-artifacts: Command execution failed.: Process exited with an error: 1 Exit value: 1
393 0
C compiler test failed.
C compiler test failed.
153 0
Unknown run configuration type AndroidRunConfigurationType的解决办法
Unknown run configuration type AndroidRunConfigurationType的解决办法
103 0
Idea运行报错Error running ‘Application‘: Command line is too long的解决方法
Idea运行报错Error running ‘Application‘: Command line is too long的解决方法
179 0
mvn clean package -Dmaven.test.skip=true 报错:[ERROR] Unknown lifecycle phase “.test.skip=true“.
mvn clean package -Dmaven.test.skip=true 报错:[ERROR] Unknown lifecycle phase “.test.skip=true“.
968 0
mvn clean package -Dmaven.test.skip=true 报错:[ERROR] Unknown lifecycle phase “.test.skip=true“.
|
Java
SpringBoot - Process finished with exit code 0
SpringBoot - Process finished with exit code 0
329 0