setup wizard installation error

Im getting this error, I did and installed everything what step by step guide says.

Installing EAR version of confluence on tomcat5.

Im running linux rhel 5 as a VM with no GUI.

The following error(s) occurred:

  • Configuring the database failed. Couldn't create the database schema.
  • Error creating bean with name 'xhtmlMailContentProcessor' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'xhtmlXslTransformer' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xhtmlXslTransformer' defined in class path resource [renderingContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.confluence.xml.XhtmlXalanXslTransformer]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: javax.xml.transform.TransformerFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/transform/TransformerFactory;

4 answers

This widget could not be displayed.

Hi Vitally,

I suspect that the JDK you are using for Confluence is not compatible/supported. See supported JDK (Oracle) at http://confluence.atlassian.com/display/DOC/Supported+Platforms (assuming you are using Confluence 4.1 at the moment)

-Hanis-

This widget could not be displayed.

I am also running into the same issue. Trying to install

Confluence 4.2.13 on tomcat5.

tomcat5.exe was running with JDK1.6.0_04, which is listed as compatible version.

JAVA_HOME was also set to JDK1.6.0_04.

Any ideas?

This widget could not be displayed.

Hi Vality and sudheer,

Did you install Tomcat from RPM? If so that might be the problem. Refer to the knowledgebase article in https://confluence.atlassian.com/display/CONFKB/Installation+or+Upgrade+of+Confluence+4.0+EAR-WAR+Fails+on+Red+Hat+or+CentOS for a fix.

Cheers, Harry.

This widget could not be displayed.

Thanks for the link Harry. Mine is windows environment and Tomcat was installed using the installer version. It has xml-apis.jar, which seem to have javax/xml/transform/TransformerFactory. Once I deleted it from the 'endorsed' folder, the issue went away.

Sudheer

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

857 views 8 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you