title: Apache Nifi: Resource directory paths are malformed: docs
body: <p>I'm getting "Resource directory paths are malformed" from the integrated NIFI webserver jetty. Jar exists and this is the content: </p>
  
  <pre><code>/jhub/_prod/server_global_unifieddata_nifi_daemon/storage/work/nar/framework/nifi-framework-nar-1.0.0-SNAPSHOT.nar-unpacked/META-INF/bundled-dependencies/nifi-web-docs-1.0.0-SNAPSHOT.war
  META-INF/
  META-INF/MANIFEST.MF
  css/
  images/
  WEB-INF/
  WEB-INF/classes/
  WEB-INF/classes/org/
  WEB-INF/classes/org/apache/
  WEB-INF/classes/org/apache/nifi/
  WEB-INF/classes/org/apache/nifi/web/
  WEB-INF/classes/org/apache/nifi/web/docs/
  WEB-INF/classes/META-INF/
  WEB-INF/jsp/
  js/
  css/component-usage.css
  css/main.css
  images/bgHeader.png
  images/bgTableHeader.png
  images/bgBannerFoot.png
  WEB-INF/classes/org/apache/nifi/web/docs/DocumentationController.class
  WEB-INF/classes/META-INF/DEPENDENCIES
  WEB-INF/classes/META-INF/NOTICE
  WEB-INF/classes/META-INF/LICENSE
  WEB-INF/web.xml
  WEB-INF/jsp/no-documentation-found.jsp
  WEB-INF/jsp/documentation.jsp
  js/application.js
  META-INF/maven/org.apache.nifi/nifi-web-docs/pom.xml
  META-INF/maven/org.apache.nifi/nifi-web-docs/pom.properties
  </code></pre>
  
  <p>And this is the message from the log:</p>
  
  <pre><code>==&gt; nifi-app_2016-11-17_13.0.log &lt;==
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_92]
      at org.apache.nifi.NiFi.&lt;init&gt;(NiFi.java:146) ~[nifi-runtime-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      at org.apache.nifi.NiFi.main(NiFi.java:243) ~[nifi-runtime-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
  Caused by: java.lang.IllegalStateException: Resource directory paths are malformed: docs
      at org.apache.nifi.web.server.JettyServer.createDocsWebApp(JettyServer.java:540) ~[nifi-jetty-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      at org.apache.nifi.web.server.JettyServer.loadWars(JettyServer.java:321) ~[nifi-jetty-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      at org.apache.nifi.web.server.JettyServer.&lt;init&gt;(JettyServer.java:144) ~[nifi-jetty-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      ... 6 common frames omitted
  </code></pre>
  
  <p>Can I have any pointer to fix this problem? </p>