直接输入代码执行:
public class App {public static void main(String[] args) {String springVersion = SpringVersion.getVersion();String springBootVersion = SpringBootVersion.getVersion();System.out.println("Spring版本:"+springVersion+"\nSpringBoot版本:"+springBootVersion);}}