ask a question : build fail for test.
See original GitHub issueI am trying to run armeria in my laptop by following the CONTRIBUTING.md
.
but I have a problem.
I typed command ./gradlew build site
but it failed.
I got below error message.
`
Task :logback:compileTestJava FAILED C:\Users\Hanhg\Desktop\armeria\logback\src\test\java\com\linecorp\armeria\common\logback\RequestContextExportingAppenderTest.java:62: error: cannot find symbol import com.linecorp.armeria.common.thrift.ThriftReply; ^ symbol: class ThriftReply location: package com.linecorp.armeria.common.thrift C:\Users\Hanhg\Desktop\armeria\logback\src\test\java\com\linecorp\armeria\common\logback\RequestContextExportingAppenderTest.java:89: error: cannot find symbol private static final ThriftReply THRIFT_REPLY = ^ symbol: class ThriftReply location: class RequestContextExportingAppenderTest C:\Users\Hanhg\Desktop\armeria\logback\src\test\java\com\linecorp\armeria\common\logback\RequestContextExportingAppenderTest.java:90: error: cannot find symbol new ThriftReply(new TMessage(“hello”, TMessageType.REPLY, 1), ^ symbol: class ThriftReply location: class RequestContextExportingAppenderTest 3 errors
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ‘:logback:compileTestJava’.
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. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org `
I tried to find error in RequestContextExportingAppenderTest.java
but there are not compilation error or warning.
What should I do in this situation?
It is my development environment. Windows 10 IntelliJ IDEA 2019.1.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top GitHub Comments
You can improve the build speed by adding
--parallel
option 😃Could you share your java version?