Java如何在运行时获知自身Jar的版本
按照Java Specification应当可以通过
getClass().getPackage().getImplementationVersion()
或者
getClass().getPackage().getSpecificationVersion()
按照Java Specification应当可以通过
getClass().getPackage().getImplementationVersion()
或者
getClass().getPackage().getSpecificationVersion()
在跑Maven Goal时可能会遭遇一些内存不足的问题。