You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using this library with Java 9 modules. When attempting to create a Problem using the ProblemBuilder we encounter an exception.
Example:
varoutOfStockProblem = Problem.builder()
.withType(URI.create("https://example.org/out-of-stock"))
.withTitle("Out of Stock")
.withStatus(Status.BAD_REQUEST)
.withDetail("Item B00027Y5QG is no longer available")
.build();
Description
We are using this library with Java 9 modules. When attempting to create a Problem using the ProblemBuilder we encounter an exception.
Example:
Throws an exception:
Expected Behavior
A problem should be created.
Actual Behavior
Exception is thrown.
Possible Fix
Based on the StackTrace, it seems like
uses org.zalando.problem.spi.StackTraceProcessor;
is missing from org.zalando.problem's module-info.Steps to Reproduce
Context
Your Environment
The text was updated successfully, but these errors were encountered: