Installation Fails with 'java.lang.ClassNotFoundException org.apache.juli.ClassLoaderLogManager' Due to JDK Version
症状
WARNING: error instantiating 'org.apache.juli.ClassLoaderLogManager' referenced by java.util.logging.manager, class not found
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager not found
<<No stacktrace available>>
WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,' referenced by handlers, class not found
java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler,
<<No stacktrace available>>
Exception during runtime initialization
java.lang.ExceptionInInitializerError
<<No stacktrace available>>
Caused by: java.lang.NullPointerException
<<No stacktrace available>>
startup.sh command shows:
If you encounter issues starting up Confluence Standalone, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide
Using CATALINA_BASE: /home/ldhv/confluence-2.5.4-std
Using CATALINA_HOME: /home/ldhv/confluence-2.5.4-std
Using CATALINA_TMPDIR: /home/ldhv/confluence-2.5.4-std/temp
Using JRE_HOME: /usr/lib/jvm/java
http://localhost:8080 does not render anything.
原因
The error message indicates the application has not been correctly installed with a correct JDK version.
ソリューション
- Ensure the download of Confluence completed successfully and archived extracted fully.
- Ensure that the environment is configured correctly.
Ensure you have a supported and valid JDK version.
Most likely due to JDK environment not installed correctly.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.