Closed r2d2-github closed 2 years ago
"java.lang.NoClassDefFoundError: org/eclipse/jetty/util/StringUtil" is a dependency conflict. This class is not directly used by Serenity, so try (a) to see where it is being called, and (b) analyse the dependencies to identify the conflict.
Looks like, it is strange issue, I am not using Jetty or Eclipse related libraries, I will try to investigate further.
I just did a search on the Serenity code base too. Do you have a stack dump?
Never heard of Stack dump, but If this strack trace, I have only one usage for exceptions lke below
try{
my code
} catch (IOException e) {
e.printStackTrace();
}
There should be a stack trace printed to your console output - that will tell you where this code is being called.
None of my manual or automated test cases are calling this method so I am still checking if this exception is really related to this issue.
Regarding other issue with report side, could you please confirm if is it expected to have blank space in the Summary area?
No it is not.
I can't reproduce this, can you provide a sample project?
Closing due to inactivity.
Unable to include manual tests in serenity 3.1.1 version. Following error is occured
java.lang.NoClassDefFoundError: org/eclipse/jetty/util/StringUtil Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.StringUtil
[ERROR] myorg.proj.sample.testrunners.ProjectCompleteTestSuite Time elapsed: 181.507 s <<< ERROR! org.junit.runner.notification.StoppedByUserException
Also noticed that report does not show any graph/chart in Summary tab.