[JAVA MONGODB COURSE] Errors while I trying to connect to my cluster from downloaded project

After downloading and unzipping project called MFix java from ur site, I tryied to launch it by writing command mvn test -Dtest=ConnectionTest. Than I got this error and IDK what can happened. I changed link to my cluster, as was described. My link spring.mongodb.uri=mongodb+srv://m220student:m220password@cluster0.vjbxb.mongodb.net/test
So after I all I tryied another commandt - mvn spring-boot:run, and got another error
After launching from Intellij , I got same error (https pastebin com/KJvej9uh)
How to fix that? I can’t continue my education
P.S. Of course I don’t forgot to create user m220student with m220password

Hello @DOGGER_N_A, Welcome to the community
It looks like a jdk bug https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8236039
try updating your java version

To exclude your cluster side configuration from the potential causes, use mongoshell or compass with the same uri. if you can connect, then that’s definitely a java client issue
good luck,

I checked, my java jre and jdk has actual version…

Can you connect using mongoshell or compass?

your console log indicates that you are using java.runtime.version=14.0.1+7
In the cmd, what are the outputs of the following commands

java -version
javac -version
mvn --version

I updated my JDK to version 15. Another error that I got.
java version "1.8.0_241" Java(TM) SE Runtime Environment (build 1.8.0_241-b07) Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode) javac 1.8.0_221
And after I updatet JDK and added path jdk/bin to system variables, maven starts to send this message
The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE
. About maven version: I downloaded it a few days ago from official website, so it must be last version
P.S. Sorry for broken English in some places…

I fixed maven.
Version: Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d) Maven home: D:\apache-maven-3.8.1\bin\.. Java version: 15.0.2, vendor: Oracle Corporation, runtime: D:\Java\jdk-15.0.2 Default locale: ru_RU, platform encoding: Cp1251 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
So, I updated jdk, fixed maven. It’s not workins anyway. (https: pastebin com s9QfL5me)

Please

the answer is valuable

I can connect from mongo compass exe client. But I can’t connect from M FLIX

using the same mongodb+srv uri?

yes… Using MFLIX project can’t connect