Dear all:
我使用java 1.8.0.89使用mvn進行compile專案, 一直出現以下錯誤訊息
--- docker-maven-plugin:0.3.258:build (default) @ microservices-event-sourcing ---
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Reactor Summary:
microservices-event-sourcing/parent ............... FAILURE [1.743s]
microservices-event-sourcing/inventory-service .... SKIPPED
microservices-event-sourcing/order-service ........ SKIPPED
microservices-event-sourcing/account-service ...... SKIPPED
microservices-event-sourcing/user-service ......... SKIPPED
microservices-event-sourcing/payment-service ...... SKIPPED
microservices-event-sourcing/config-service ....... SKIPPED
microservices-event-sourcing/discovery-service .... SKIPPED
microservices-event-sourcing/online-store-app ..... SKIPPED
microservices-event-sourcing/catalog-service ...... SKIPPED
microservices-event-sourcing/edge-service ......... SKIPPED
microservices-event-sourcing/shopping-cart-service SKIPPED
microservices-event-sourcing/hystrix-dashboard .... SKIPPED
BUILD FAILURE
Total time: 2.085s
Finished at: Thu Nov 16 14:18:14 CST 2017
Final Memory: 30M/445M
Failed to execute goal com.spotify:docker-maven-plugin:0.3.258:build (default) on project microservices-event-sourcing: Exception caught: basedir /Users/hsiehkaiyang/NetBeansProjects/microservices-event-sourcing/target does not exist -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
我嘗試在microservices-event-sourcing下的pom.xml加入以下的指令匯入slf4j lib, 但還是出現相同的錯誤訊息
請問要如何處理此issue
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.25</version>
</dependency>