一、官方架包下載方法
-
Struts2 :
https://struts.apache.org/download
或(作者推薦): https://archive.apache.org/dist/struts/ -
Hibernate :
https://sourceforge.net/projects/hibernate/files/hibernate-orm/ -
String :
https://repo.spring.io/libs-release-local/org/springframework/spring/ -
單個架包可到Maven資源庫中進行搜索下載
在maven資源庫中下載前,請注意架包的版本以及資源數量,資源數量越多,下載速度越快。
二、查看架包對應JDK的方法
1、struts2:
答:查看 struts2-core-xxx.jar\META-INF\MANIFEST.MF
文件,"Created-By:"之後跟着對應JDK版本號。
2、hibernate:
答:查看 hibernate-xxx.jar\META-INF\MANIFEST.MF
文件,"Created-By: 1.8.0_144 (Oracle Corporation)"之後跟着對應JDK版本號。
3、spring:
答:查看 spring-xxx.jar\META-INF\MANIFEST.MF
文件,"Created-By: 1.8.0_144 (Oracle Corporation)"之後跟着對應JDK版本號。