Confluence Docs 3.1 : The Confluence window closes immediately when started
This page last changed on Dec 09, 2009 by ggaskell.
An error is preventing Confluence from starting.
java.lang.NoClassDefFoundError IntraHibernateAttachmentCopierIf you are seeing "java.lang.NoClassDefFoundError: com/atlassian/confluence/pages/persistence/dao/hibernate/AbstractHibernateAttachmentDao$IntraHibernateAttachmentCopier", you have unzipped Confluence using a program that cannot handle long filenames. You must delete your install directory and go back to the point in the instructions that covers unzipping Confluence using a third-party unzip program. Exception in thread "main" java.lang.NoClassDefFoundError: ...If http://localhost:8080 goes to an error page when you run Confluence, go to the install directory and find the /logs/catalina.out. If this file contains a single line error starting with "Exception in thread "main" java.lang.NoClassDefFoundError", your install path may contain spaces. The solution is to rename your install directory path so that there are no spaces, then restart Confluence. Error creating Confluence Home directoryThe confluence.home variable specified in confluence-init.properties cannot be created. To fix this, edit /confluence/WEB-INF/classes/confluence-init.properties and check the path specified exists. Make sure all the directory slashes use / and that the # has been removed. If you're stuck, try using confluence.home=c:/confluence/data JAVA_HOME environment variable is not defined correctlyYou have not installed the Java Development Kit, or not set the %JAVA_HOME% to the directory of the JDK. You should re-check your steps in Stage 2. Port 8080 is in useIf you have another Tomcat running on the same machine, you must edit <INSTALL>/conf/server.xml and change both 8080 and 8005 to ports that do not conflict with your other Tomcat instance according to these instructions. Error creating bean with name 'scheduler'You will need to adjust your system time. Error registering bean with name 'fileSystemAttachmentDataDao'If you did not use one of the recommended unzipping tools, and happened to use for instance the default Windows XP extractor, one of the classes required for starting up Confluence may not be located due to the lengthy file-path. This is due to the reason that the default Windows tool silently fails to extract files with long names. We suggest you to use other tools such as WinZIP and 7zip and redo the deployment process. Cause: |
![]() |
Document generated by Confluence on Dec 10, 2009 18:46 |