Caused by: java.lang.UnsupportedClassVersionError: org/springframework/cloud/bootstrap/RefreshBootstrapRegistryInitializer
时间: 2023-11-13 14:31:07 浏览: 32
This error occurs when you are trying to run a Java class file with an unsupported version of Java. The class file you are trying to run requires a higher version of Java than what is currently installed on your system.
To resolve this error, you need to update your Java installation to a higher version that supports the class file you are trying to run. You can check the version of Java installed on your system by running the following command in the terminal:
java -version
Once you have determined the version of Java installed, you can download and install the latest version of Java from the official website. After installing the latest version of Java, try running the class file again and the error should be resolved.