<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:59:37 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-3444] NoSuchMethodError: com.mongodb.MongoClientSettings.getAutoEncryptionSettings</title>
                <link>https://jira.mongodb.org/browse/JAVA-3444</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I import working module from my working project to new one. I want to show result in web with spring-boot possibilities. But got error&lt;/p&gt;

&lt;p&gt;NoSuchMethodError: com.mongodb.MongoClientSettings.getAutoEncryptionSettings()Lcom/mongodb/AutoEncryptionSettings&lt;br/&gt;
I downgrade mongodb-driver-sync to 3.10.2 and all looks fine&lt;/p&gt;</description>
                <environment>linux&lt;br/&gt;
spring-boot&lt;br/&gt;
</environment>
        <key id="936999">JAVA-3444</key>
            <summary>NoSuchMethodError: com.mongodb.MongoClientSettings.getAutoEncryptionSettings</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="me@werru.me">nikolay belyaev</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Sep 2019 09:05:53 +0000</created>
                <updated>Wed, 25 Sep 2019 01:10:20 +0000</updated>
                            <resolved>Wed, 25 Sep 2019 01:10:20 +0000</resolved>
                                    <version>3.11.0</version>
                                                    <component>Configuration</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2432019" author="jeff.yemin" created="Wed, 25 Sep 2019 01:10:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=me%40werru.me&quot; class=&quot;user-hover&quot; rel=&quot;me@werru.me&quot;&gt;me@werru.me&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is not a bug in the driver.  The mongodb-driver-sync module depends on the mongodb-driver-core module, and the versions of each have to match.  The method that you&apos;re seeing an error about was added in 3.11.0 of mongodb-driver-core.  If it&apos;s missing in your deployment, then you must be loading an older version of mongodb-driver-core.  &lt;/p&gt;</comment>
                            <comment id="2431435" author="me@werru.me" created="Tue, 24 Sep 2019 17:06:20 +0000"  >&lt;p&gt;No. I checked classes that loaded during boot.&lt;/p&gt;

&lt;p&gt;It was MongoClientSettings and MongoClientSettings.$Builder (can mistake in name) only one time each&lt;/p&gt;</comment>
                            <comment id="2431369" author="jeff.yemin" created="Tue, 24 Sep 2019 16:26:23 +0000"  >&lt;p&gt;Understood, but it sounds like you have a spring boot dependency, and that may have a dependency on an older version of mongodb-driver-core.&lt;/p&gt;</comment>
                            <comment id="2431367" author="me@werru.me" created="Tue, 24 Sep 2019 16:25:14 +0000"  >&lt;p&gt;I had only one dependency connected with mongo&lt;br/&gt;
 &amp;lt;dependency&amp;gt;&lt;br/&gt;
 &amp;lt;groupId&amp;gt;org.mongodb&amp;lt;/groupId&amp;gt;&lt;br/&gt;
 &amp;lt;artifactId&amp;gt;mongodb-driver-sync&amp;lt;/artifactId&amp;gt;&lt;br/&gt;
 &amp;lt;version&amp;gt;3.11.0&amp;lt;/version&amp;gt;&lt;br/&gt;
 &amp;lt;/dependency&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2431286" author="jeff.yemin" created="Tue, 24 Sep 2019 16:03:43 +0000"  >&lt;p&gt;If you&apos;re going to upgrade mongodb-driver-sync to 3.11.0, you also need to ensure that mongodb-driver-core is on the same version.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvgjsv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>