jar包 pom

Posted 纵不朽

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jar包 pom相关的知识,希望对你有一定的参考价值。

动态的web工程tomcat 自带jar包:

 

jstl:

taglibs-standard-impl-1.2.5.jar
taglibs-standard-spec-1.2.5.jar
 
//以下是老版jar包

jstl.jar
standard.jar

 

spring:

spring-beans-4.0.0.RELEASE.jar
spring-context-4.0.0.RELEASE.jar
spring-core-4.0.0.RELEASE.jar
spring-expression-4.0.0.RELEASE.jar
commons-logging-1.1.3.jar
spring-aop-4.0.0.RELEASE.jar
    
//以下是AOP需要额外导入的jar包
com.springsource.net.sf.cglib-2.2.0.jar
com.springsource.org.aopalliance-1.0.0.jar
com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar
spring-aspects-4.0.0.RELEASE.jar
 
//以下是JdbcTemplate&声明式事务需要额外导入的jar包

spring-jdbc-4.0.0.RELEASE.jar
spring-orm-4.0.0.RELEASE.jar
spring-tx-4.0.0.RELEASE.jar
c3p0-0.9.1.2.jar(连接池)
mysql-connector-java-5.1.37-bin.jar(mysql驱动)

 

//以下是springmvc需要额外导入的jar包

spring-web-4.0.0.RELEASE.jar
spring-webmvc-4.0.0.RELEASE.jar

//jackson

 

mybatis:

mybatis-3.4.2.jar
mybatis-spring-1.2.2.jar
 

gson:

gson-2.2.4.jar

kaptcha:

kaptcha-2.3.2-jdk14.jar

 

POM:

  1             <dependency>
  2                 <groupId>javax.servlet</groupId>
  3                 <artifactId>servlet-api</artifactId>
  4                 <version>2.5</version>
  5                 <scope>provided</scope><!-- 注意!!!! -->
  6             </dependency>
  7             <dependency>
  8                 <groupId>javax.servlet.jsp</groupId>
  9                 <artifactId>jsp-api</artifactId>
 10                 <version>2.1.3-b06</version>
 11                 <scope>provided</scope><!-- 注意!!!! -->
 12             </dependency>
 13             
 14             
 15             
 16             
 17             
 18             <dependency>
 19                 <groupId>org.springframework</groupId>
 20                 <artifactId>spring-core</artifactId>
 21                 <version>4.0.0.RELEASE</version>
 22             </dependency>
 23             <dependency>
 24                 <groupId>org.springframework</groupId>
 25                 <artifactId>spring-context</artifactId>
 26                 <version>4.0.0.RELEASE</version>
 27             </dependency>
 28             <dependency>
 29                 <groupId>org.springframework</groupId>
 30                 <artifactId>spring-jdbc</artifactId>
 31                 <version>4.0.0.RELEASE</version>
 32             </dependency>
 33             <dependency>
 34                 <groupId>org.springframework</groupId>
 35                 <artifactId>spring-orm</artifactId>
 36                 <version>4.0.0.RELEASE</version>
 37             </dependency>
 38             <dependency>
 39                 <groupId>org.springframework</groupId>
 40                 <artifactId>spring-web</artifactId>
 41                 <version>4.0.0.RELEASE</version>
 42             </dependency>
 43             <dependency>
 44                 <groupId>org.springframework</groupId>
 45                 <artifactId>spring-webmvc</artifactId>
 46                 <version>4.0.0.RELEASE</version>
 47             </dependency>
 48             <dependency>
 49                 <groupId>org.springframework</groupId>
 50                 <artifactId>spring-tx</artifactId>
 51                 <version>4.0.0.RELEASE</version>
 52             </dependency>
 53             <dependency>
 54                 <groupId>org.springframework</groupId>
 55                 <artifactId>spring-aspects</artifactId>
 56                 <version>4.0.0.RELEASE</version>
 57             </dependency>    
 58             <dependency>
 59                 <groupId>aopalliance</groupId>
 60                 <artifactId>aopalliance</artifactId>
 61                 <version>1.0</version>
 62             </dependency>                    
 63             
 64             <dependency>
 65                 <groupId>cglib</groupId>
 66                 <artifactId>cglib</artifactId>
 67                 <version>2.2</version>
 68             </dependency>
 69             <dependency>
 70                 <groupId>org.aspectj</groupId>
 71                 <artifactId>aspectjweaver</artifactId>
 72                 <version>1.6.8</version>
 73             </dependency>
 74 
 75             <!-- Spring整合MyBatis -->
 76             <!-- MyBatis中延迟加载需要使用Cglib -->
 77             <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis -->
 78             <dependency>
 79                 <groupId>org.mybatis</groupId>
 80                 <artifactId>mybatis</artifactId>
 81                 <version>3.2.8</version>
 82             </dependency>
 83 
 84             <dependency>
 85                 <groupId>org.mybatis</groupId>
 86                 <artifactId>mybatis-spring</artifactId>
 87                 <version>1.2.2</version>
 88             </dependency>
 89             <dependency>
 90                 <groupId>mysql</groupId>
 91                 <artifactId>mysql-connector-java</artifactId>
 92                 <version>5.1.37</version>
 93             </dependency>
 94             <dependency>
 95                 <groupId>com.mchange</groupId>
 96                 <artifactId>c3p0</artifactId>
 97                 <version>0.9.2</version>
 98             </dependency>
 99             <!-- 控制日志输出:结合log4j -->
100             <dependency>
101                 <groupId>log4j</groupId>
102                 <artifactId>log4j</artifactId>
103                 <version>1.2.17</version>
104             </dependency>
105             <dependency>
106                 <groupId>org.slf4j</groupId>
107                 <artifactId>slf4j-api</artifactId>
108                 <version>1.7.7</version>
109             </dependency>
110             <dependency>
111                 <groupId>org.slf4j</groupId>
112                 <artifactId>slf4j-log4j12</artifactId>
113                 <version>1.7.7</version>
114             </dependency>
115             
116             
117 
118 
119 
120 
121             
122             <dependency>
123                 <groupId>jstl</groupId>
124                 <artifactId>jstl</artifactId>
125                 <version>1.2</version>
126             </dependency>
127 
128 
129 
130 
131 
132             <!-- ********其他****************************** -->
133 
134             <!-- Ehcache二级缓存 -->
135             <dependency>
136                 <groupId>net.sf.ehcache</groupId>
137                 <artifactId>ehcache</artifactId>
138                 <version>1.6.2</version>
139             </dependency>
140 
141 
142 
143 
144             <!-- 石英调度 - 开始 -->
145             <dependency>
146                 <groupId>org.quartz-scheduler</groupId>
147                 <artifactId>quartz</artifactId>
148                 <version>1.8.5</version>
149             </dependency>
150             <dependency>
151                 <groupId>org.springframework</groupId>
152                 <artifactId>spring-context-support</artifactId>
153                 <version>4.0.0.RELEASE</version>
154             </dependency>
155             
156             <!-- 石英调度 - 结束 -->
157             <dependency>
158                 <groupId>commons-collections</groupId>
159                 <artifactId>commons-collections</artifactId>
160                 <version>3.1</version>
161             </dependency>
162             
163             
164             
165             <dependency>
166                 <groupId>org.codehaus.jackson</groupId>
167                 <artifactId>jackson-mapper-asl</artifactId>
168                 <version>1.9.2</version>
169             </dependency>
170 
171             <dependency>
172                 <groupId>com.google.code.gson</groupId>
173                 <artifactId>gson</artifactId>
174                 <version>2.2.4</version>
175             </dependency>
176             
177             <dependency>
178                 <groupId>net.sf.json-lib</groupId>
179                 <artifactId>json-lib</artifactId>
180                 <version>2.4</version>
181                 <classifier>jdk15</classifier>
182             </dependency>
183             
184             
185             
186             
187             
188             
189             
190             
191             
192             <dependency>
193                 <groupId>org.apache.poi</groupId>
194                 <artifactId>poi</artifactId>
195                 <version>3.9</version>
196             </dependency>
197 
198 
199 
200 
201 
202             <dependency>
203                 <groupId>org.jfree</groupId>
204                 <artifactId>jfreechart</artifactId>
205                 <version>1.0.19</version>
206             </dependency>
207 
208 
209 
210 
211             <dependency>
212                 <groupId>commons-fileupload</groupId>
213                 <artifactId>commons-fileupload</artifactId>
214                 <version>1.3.1</version>
215             </dependency>
216 
217 
218 
219 
220 
221 
222             <dependency>
223                 <groupId>org.freemarker</groupId>
224                 <artifactId>freemarker</artifactId>
225                 <version>2.3.19</version>
226             </dependency>
227 
228 
229 
230 
231 
232 
233             <dependency>
234                 <groupId>org.apache.commons</groupId>
235                 <artifactId>commons-email</artifactId>
236                 <version>1.3.1</version>
237             </dependency>
238             <dependency>
239                 <groupId>javax.mail</groupId>
240                 <artifactId>mail</artifactId>
241                 <version>1.4.7</version>
242             </

以上是关于jar包 pom的主要内容,如果未能解决你的问题,请参考以下文章

本地jar包在maven工程中pom引用

pom配置多个jar包压缩成zip

JavaSVN下载maven项目到eclipse之后,项目红叉,pom.xml出现Missing artifact fakepath:dubbo:jar:2.8.5等缺少jar包情况

没有版本的jar包怎么在maven 里的pom配置

maven pom 怎么从jar包里面排除一个类

idea 怎么引入在pom.xml的jar