<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Datomic Knowledgebase - Recent questions tagged dependencies</title>
<link>https://ask.datomic.com/index.php/tag/dependencies</link>
<description>Powered by Question2Answer</description>
<item>
<title>Datomic peer on dynamodb - misleading error message</title>
<link>https://ask.datomic.com/index.php/1884/datomic-peer-on-dynamodb-misleading-error-message</link>
<description>&lt;p&gt;Starting from a simple setup:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{:deps {com.datomic/peer       {:mvn/version &quot;1.0.7491&quot;}
        org.slf4j/slf4j-simple {:mvn/version &quot;2.0.17&quot;}}}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And trying to connect into a dynamodb connection, it fails with a &quot;s3&quot; error: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;user=&amp;gt; (require '[datomic.api :as d])
nil
user=&amp;gt; (d/connect &quot;datomic:ddb://us-east-1/prd/db&quot;)
[main] INFO datomic.process-monitor - {:event :metrics/initializing, :metricsCallback clojure.core/identity, :phase :begin, :pid 311, :tid 3}
[main] INFO datomic.process-monitor - {:event :metrics/initializing, :metricsCallback clojure.core/identity, :msec 0.696, :phase :end, :pid 311, :tid 3}
[main] INFO datomic.process-monitor - {:metrics/started clojure.core/identity, :pid 311, :tid 3}
[clojure-agent-send-off-pool-0] INFO datomic.domain - {:event :cache/create, :cache-bytes 502267904, :pid 311, :tid 25}
[clojure-agent-send-off-pool-0] INFO datomic.process-monitor - {:AvailableMB 895.0, :ObjectCacheCount 0, :event :metrics, :pid 311, :tid 25}
Execution error (ClassNotFoundException) at jdk.internal.loader.BuiltinClassLoader/loadClass (BuiltinClassLoader.java:580).
com.amazonaws.services.s3.model.MultiObjectDeleteException
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;From this error message, it is pretty hard to find that datomic actually requires an extra dynamodb dependency to work.&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&quot;&gt;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Possible fixes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A better error message&lt;/li&gt;
&lt;li&gt;Adding this error message to datomic docs, as a &quot;common errors&quot; - do google will be able to find. &lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Peer API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/1884/datomic-peer-on-dynamodb-misleading-error-message</guid>
<pubDate>Fri, 13 Feb 2026 16:19:56 +0000</pubDate>
</item>
<item>
<title>Datomic on JDK25 - WARNING: A restricted method in java.lang.System has been called</title>
<link>https://ask.datomic.com/index.php/1883/datomic-jdk25-warning-restricted-method-java-system-called</link>
<description>&lt;p&gt;Using this dependencies&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{:deps {com.datomic/peer                    {:mvn/version &quot;1.0.7491&quot;}
        org.slf4j/slf4j-nop                 {:mvn/version &quot;2.0.17&quot;}
        com.amazonaws/aws-java-sdk-dynamodb {:mvn/version &quot;1.12.564&quot;}}}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note: aws-java-sdk-dynamodb has an updated version, but 1.12.564 is the &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&quot;&gt;recommended&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Generate these warnings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by io.netty.util.internal.PlatformDependent0$4 (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
WARNING: Please consider reporting this to the maintainers of class io.netty.util.internal.PlatformDependent0$4
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by io.netty.util.internal.NativeLibraryUtil in an unnamed module (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This issue report focus in the first part: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by io.netty.util.internal.NativeLibraryUtil in an unnamed module (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Trace:&lt;br&gt;
-  io.netty/netty-common 4.1.100&lt;br&gt;
- required by org.apache.activemq/artemis-commons 2.31.2&lt;br&gt;
- required by org.apache.activemq/artemis-core-client 2.31.2&lt;br&gt;
- required by com.datomic/peer.&lt;/p&gt;
</description>
<category>Peer API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/1883/datomic-jdk25-warning-restricted-method-java-system-called</guid>
<pubDate>Fri, 13 Feb 2026 16:19:55 +0000</pubDate>
</item>
<item>
<title>Datomic on JDK25 - WARNING: A terminally deprecated method in sun.misc.Unsafe has been called</title>
<link>https://ask.datomic.com/index.php/1882/datomic-warning-terminally-deprecated-method-unsafe-called</link>
<description>&lt;p&gt;Using this dependencies&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{:deps {com.datomic/peer                    {:mvn/version &quot;1.0.7491&quot;}
        org.slf4j/slf4j-nop                 {:mvn/version &quot;2.0.17&quot;}
        com.amazonaws/aws-java-sdk-dynamodb {:mvn/version &quot;1.12.564&quot;}}}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note: aws-java-sdk-dynamodb has an updated version, but 1.12.564 is the &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.datomic.com/operation/storage.html#dynamodb-aws-peer-dependency&quot;&gt;recommended&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Generate these warnings:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by io.netty.util.internal.PlatformDependent0$4 (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
WARNING: Please consider reporting this to the maintainers of class io.netty.util.internal.PlatformDependent0$4
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by io.netty.util.internal.NativeLibraryUtil in an unnamed module (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This issue report focus in the first part: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by io.netty.util.internal.PlatformDependent0$4 (file:/root/.m2/repository/io/netty/netty-common/4.1.100.Final/netty-common-4.1.100.Final.jar)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Trace:&lt;br&gt;
-  io.netty/netty-common 4.1.100&lt;br&gt;
- required by org.apache.activemq/artemis-commons 2.31.2&lt;br&gt;
- required by org.apache.activemq/artemis-core-client 2.31.2&lt;br&gt;
- required by com.datomic/peer.&lt;/p&gt;
</description>
<category>Peer API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/1882/datomic-warning-terminally-deprecated-method-unsafe-called</guid>
<pubDate>Fri, 13 Feb 2026 16:19:51 +0000</pubDate>
</item>
</channel>
</rss>