理解 运行 错误
Intellij run error
我已经在 Intellij 中创建了 gauge-maven 项目。我在用着
仪表版本:0.8.1
仪表插件版本版本:0.3.1
但是我得到了错误。
[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
此错误对规范文件不感兴趣或任何错误的安装插件。
您是否从 pom.xml 更改了插件版本号?它不会自动更改,您应该手动更改它。
请检查这个link https://github.com/getgauge/gauge/issues/563
我想你可以纠正这个错误。
我已经在 Intellij 中创建了 gauge-maven 项目。我在用着 仪表版本:0.8.1 仪表插件版本版本:0.3.1 但是我得到了错误。
[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
此错误对规范文件不感兴趣或任何错误的安装插件。 您是否从 pom.xml 更改了插件版本号?它不会自动更改,您应该手动更改它。
请检查这个link https://github.com/getgauge/gauge/issues/563 我想你可以纠正这个错误。