2017-10-27 1 views
0

git에서 복제하여 spinnaker 게이트를 만들려고합니다. 내가 게이트 폴더 내부에서 ./gradlew를 실행하고 때, 나는 같은에 도움이 필요하십니까 아래의 오류를게이트 폴더에서 './gradlew'을 실행하면 오류가 발생합니다.


error: error reading /home/~/gate/gate-core/build/libs/gate-core-4.10.0-SNAPSHOT.jar; invalid header field 
Note: /home/~/gate/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/appengine/StorageAccountService.java uses unchecked or unsafe operations. 
Note: Recompile with -Xlint:unchecked for details. 
startup failed: 
/home/~/gate/gate-web/src/main/groovy/com/netflix/spinnaker/gate/config/GateConfig.groovy: 31: unable to resolve class com.netflix.spinnaker.gate.retrofit.Slf4jRetrofitLogger 
@ line 31, column 1. 
    import com.netflix.spinnaker.gate.retrofit.Slf4jRetrofitLogger 
^

/home/~/gate/gate-web/src/main/groovy/com/netflix/spinnaker/gate/config/GateConfig.groovy: 33: unable to resolve class com.netflix.spinnaker.gate.services.internal.ClouddriverService 
@ line 33, column 1. 
    import com.netflix.spinnaker.gate.services.internal.ClouddriverService 
^
. 
. 
. 
. 
71 errors 

:gate-web:compileGroovy FAILED 

FAILURE: Build failed with an exception. 

* What went wrong: 
Execution failed for task ':gate-web:compileGroovy'. 
> Compilation failed; see the compiler error output for details. 

* Try: 
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 

BUILD FAILED 
--------------------------------------------- 

을 얻고있다.

감사합니다.

git clone https://github.com/spinnaker/gate.git 
cd gate 
./gradlew 

그리고 모든 것을 컴파일 (JDK8u111 사용) 예상대로 게이트 시작 :

답변

0

흠, 난 그냥 다음 시도했다. 정말로 아무것도 바꾸지 않았 니? 아마도 새로운 클론을 시도해보십시오.

관련 문제