2017-03-02 8 views
-1

Intellij에서 gauge-maven 프로젝트를 만들었습니다. 내가 사용하고있다 게이지 버전 : 0.8.1 게이지 플러그인 버전 : 0.3.1 하지만 오류가 발생했습니다.Intellij 실행 오류

[ValidationError] /Users/muge.karakas/IdeaProjects/fghf/specs/example.spec:11 Step implementation not found => 'Vowels in English language are "aeiou".' 
[ValidationError] /Users/muge.karakas/IdeaProjects/fghf/specs/example.spec:18 Step implementation not found => 'The word "gauge" has "3" vowels.' 
[ValidationError] /Users/muge.karakas/IdeaProjects/fghf/specs/example.spec:28 Step implementation not found => 'Almost all words have vowels <table>' com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: messageType 
at com.google.protobuf.UninitializedMessageException.asInvalidProtocolBufferException(UninitializedMessageException.java:81)  
at com.google.protobuf.AbstractParser.checkMessageInitialized(AbstractParser.java:71) 
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:168)  
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:180)  
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:185)  
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)  at gauge.messages.Messages$Message.parseFrom(Messages.java:21442) 
at com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:67) 
at com.thoughtworks.gauge.GaugeRuntime.main(GaugeRuntime.java:37) com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: messageType Error Message: Connection closed 
[127.0.0.1:53933] cause: EOF Stacktrace: 
     Error Message: write tcp 127.0.0.1:53929->127.0.0.1:53933: use of closed network connection Stacktrace:  Successfully generated html-report to => /Users/muge.karakas/IdeaProjects/fghf/reports/html-report Specifications: 0 executed 0 passed 0 failed 0 skipped Scenarios: 0 executed 0 passed 0 failed 0 skipped 

    Total time taken: 118ms 

    Process finished with exit code 1 
+0

"fghf/specs/example.spec"을 열거 나 제거하십시오 –

+0

example.spec 파일을 추가 할 수 있습니까? – Adonis

답변

1

이 오류는 사양 파일 또는 잘못된 설치 플러그인에 관심이 없습니다. pom.xml에서 플러그인 버전 번호를 변경 했습니까? 자동으로 변경되지 않으므로 수동으로 변경해야합니다.

https://github.com/getgauge/gauge/issues/563 나는이 오류를 수정할 수 있다고 생각합니다.