Unsupported major.minor version 52.0 (unable to load class org.apache.kafka.clients.producer.Produce2023-12-21 20:27:52在控制台输入java -version,查看自己的版本是多少,我的查出来是1.8的。随后将服务器上的改为1.8的就可以了。 上一篇:git pull fatal: unable to access OpenSSL SSL_read: Connection was reset, errno 10054下一篇:springBoot导入本地jar并且要求通过maven打包到项目的jar中|Unable to open nested jar file ‘BOOT-INF/lib/xxxxxx.jar‘