<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:36 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-2590] java.lang.NoSuchMethodError when initiating</title>
                <link>https://jira.mongodb.org/browse/JAVA-2590</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I&apos;m trying to initialize the client with this code:&lt;/p&gt;

&lt;p&gt;MongoClientURI clientURI = new MongoClientURI(&quot;mongodb://spammer:123mongo456@67.205.151.97/spammer&quot;);&lt;br/&gt;
_globalClient = new MongoClient(clientURI);&lt;/p&gt;

&lt;p&gt;but i got this exception:&lt;br/&gt;
java.lang.NoSuchMethodError: com.mongodb.connection.SslSettings$Builder.context(Ljavax/net/ssl/SSLContext;)Lcom/mongodb/connection/SslSettings$Builder;&lt;br/&gt;
	at com.mongodb.MongoClientOptions.&amp;lt;init&amp;gt;(MongoClientOptions.java:180)&lt;br/&gt;
	at com.mongodb.MongoClientOptions.&amp;lt;init&amp;gt;(MongoClientOptions.java:54)&lt;br/&gt;
	at com.mongodb.MongoClientOptions$Builder.build(MongoClientOptions.java:1474)&lt;br/&gt;
	at com.mongodb.MongoClientURI.getOptions(MongoClientURI.java:336)&lt;br/&gt;
	at com.mongodb.Mongo.createCluster(Mongo.java:701)&lt;br/&gt;
	at com.mongodb.Mongo.&amp;lt;init&amp;gt;(Mongo.java:307)&lt;br/&gt;
	at com.mongodb.Mongo.&amp;lt;init&amp;gt;(Mongo.java:303)&lt;br/&gt;
	at com.mongodb.MongoClient.&amp;lt;init&amp;gt;(MongoClient.java:291)&lt;/p&gt;

&lt;p&gt;i installed the lib with gradle :&lt;br/&gt;
compile &apos;org.mongodb:mongodb-driver:3.5.0&apos;&lt;/p&gt;</description>
                <environment>Windows, Java 1.8, Gradle</environment>
        <key id="421741">JAVA-2590</key>
            <summary>java.lang.NoSuchMethodError when initiating</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="13202">Works as Designed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kumangkumeng">Rahadian Ahmad</reporter>
                        <labels>
                            <label>crash</label>
                    </labels>
                <created>Wed, 30 Aug 2017 07:36:43 +0000</created>
                <updated>Fri, 27 Oct 2023 13:21:11 +0000</updated>
                            <resolved>Wed, 30 Aug 2017 18:38:52 +0000</resolved>
                                    <version>3.5.0</version>
                                                    <component>API</component>
                    <component>Builders</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1660920" author="jeff.yemin" created="Wed, 30 Aug 2017 18:38:52 +0000"  >&lt;p&gt;The &lt;tt&gt;com.mongodb.connection.SslSettings.Builder#context&lt;/tt&gt; method was introduced in the 3.5 release, so I suspect what&apos;s happening is that somewhere in your gradle configuration an older version of mongodb-driver-core is being pulled in.&lt;/p&gt;

&lt;p&gt;Try executing the &lt;tt&gt;dependencies&lt;/tt&gt; gradle task to see the dependency tree for your project.  It should help to determine where an older version of mongodb-driver-core is being pulled in.&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|ht5odb:</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>