2017-03-02 109 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

此錯誤對spec文件或任何錯誤的安裝插件不感興趣。 您是否從pom.xml更改插件版本號?它不會自動更改,您應該手動更改它。

請檢查這個鏈接https://github.com/getgauge/gauge/issues/563 我想你可以糾正這個錯誤。