我从集成的NIFI web服务器码头获得"资源目录路径是畸形的"。Jar存在,这是内容:
/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
这是来自日志的消息:
==> nifi-app_2016-11-17_13.0.log <==
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_92]
at org.apache.nifi.NiFi.<init>(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.<init>(JettyServer.java:144) ~[nifi-jetty-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
... 6 common frames omitted
我可以有任何指针来解决这个问题吗?
为了解决这个问题,我在nifi工作目录中创建了丢失的文件夹。
"资源目录路径是畸形的"在这种情况下是指"文件夹未找到"