<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.3</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>net.sf.ezmorph</groupId>
<artifactId>ezmorph</artifactId>
<version>1.0.6</version>
</dependency>
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.2.3</version>
<classifier>jdk15</classifier>
</dependency>
这里需要注意的是json-libjar包引入时需要加上<classifier>jdk15</classifier>,需要标注jdk版本的。 因为他的全称是json-lib-2.2.3-jdk15.jar
本文详细介绍了Maven项目中常用的依赖包,包括commons-beanutils、commons-collections、commons-lang3、commons-logging等,特别关注了json-lib的正确引入方式,强调了其对JDK版本的要求。
5033

被折叠的 条评论
为什么被折叠?



