java-callgraph icon indicating copy to clipboard operation
java-callgraph copied to clipboard

Maven install error

Open chiefeweight opened this issue 3 years ago • 1 comments

I downloaded the package, installed it with maven 3.8.1, then it have these errors:


Test set: gr.gousiosg.javacg.RunCucumberTest

Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.187 sec <<< FAILURE! Retrieve nested lambdas(Lambda) Time elapsed: 0.141 sec <<< ERROR! java.lang.RuntimeException: Cannot found: M:NestedLambdaTest:lambda$lambda$methodA$2$1() (D)Runner:run(NestedLambdaTest) at gr.gousiosg.javacg.StepDefinitions.the_result_should_contain(StepDefinitions.java:45) at ?.the result should contain:(gr/gousiosg/javacg/lambda.feature:69)

Could someone please tell me how to fix it? Thanks a lot!

chiefeweight avatar May 24 '21 13:05 chiefeweight

try this mvn install -DskipTests

instead of mvn install

gezavagyok avatar Oct 21 '21 14:10 gezavagyok