Package pkg = ObjectMapper.class.getPackage();
System.out.println(pkg.getImplementationVersion());
Package pkg = ObjectMapper.class.getPackage();
System.out.println(pkg.getImplementationVersion());
转载于:https://my.oschina.net/monroe/blog/1586744