docs: @Nonnull
    public static String getServletContextBasePath (@Nonnull final ServletContext aSC)
    {
      String sPath = aSC.getRealPath (".");
      if (sPath == null)
      {
        // Fallback for Undertow
        sPath = aSC.getRealPath ("");
      }
      if (StringHelper.hasNoText (sPath))
        throw new IllegalStateException ("Failed to determine real path of ServletContext " + aSC);
      return sPath;
    }