Skip to content

Commit

Permalink
Fix startup error. Follow up #7456 (#7858)
Browse files Browse the repository at this point in the history
  • Loading branch information
josegar74 committed Mar 12, 2024
1 parent 40908fe commit ca2bf40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ protected void initTarget() throws ServletException {
// If not set externally try to use the value from web.xml
if (StringUtils.isBlank(targetUriTemplate)) {
targetUriTemplate = getConfigParam(P_TARGET_URI);
if (StringUtils.isBlank(targetUriTemplate)) {
if (targetUriTemplate == null) {
throw new ServletException(P_TARGET_URI + " is required in web.xml or set externally");
}
}
Expand Down

0 comments on commit ca2bf40

Please sign in to comment.