Confluence does not start due to 'Can't find dependent libraries' error

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Trying to start Confluence fails almost immediately with the following error in atlassian-confluence.log:

Error creating bean with name 'thumberTarget' defined in class path resource [attachmentSubsystemContext.xml]: Bean instantiation via constructor failed; nested exception is java.lang.UnsatisfiedLinkError: <JAVA_HOME>\jdk-8.0.212.03-hotspot\jre\bin\awt.dll: Can't find dependent libraries

Diagnosis

Environment

  • Windows server

  • AdoptOpenJDK version jdk-8.0.212.03-hotspot in use

Cause

So far, the cause of this problem is not clear, and it cannot be reproduced in a fresh install, which is why we don't have a Confluence bug created at the moment. However, we have seen some reports of this problem happening while trying to upgrade Confluence to newer versions and using AdoptOpenJDK 212b03.

A similar error is mentioned in the following JDK bug, but it should be resolved in newer versions:

Resolution

Downgrading AdoptOpenJDK to version 202 has resolved the problem when this error happened. It can be downloaded here:

If you still face any issue, please contact Atlassian support and provide as many details on your environment as possible so we can search for the root cause.

DescriptionConfluence does not start due to 'Can't find dependent libraries' error 
ProductConfluence
Last modified on Jan 2, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.