---
title: "Tomcat6编译"
author: "qqbwww"
date: "2014-04-02T00:22:03Z"
tags: []
categories: ["开源软件"]
slug: "tomcat6"
draft: false
lastmod: "2014-04-02T10:13:56Z"
id: 2039741
url: "https://qqbwww.iteye.com/blog/2039741"
---

晚上想要查看一下tomcat对post是如何处理的，然后需要编译tomcat，主要参考这篇文章

 

[http://www.cnblogs.com/huangfox/archive/2011/10/20/2218970.html](http://www.cnblogs.com/huangfox/archive/2011/10/20/2218970.html)

 

基本上照着做就好了，唯一处理的部分就是那几个依赖包，其中三个我通过maven引入，

 

    

```
<dependencies>
        <dependency>
          <groupId>org.apache.ant</groupId>
          <artifactId>ant</artifactId>
          <version>1.8.1</version>
        </dependency>
    
        <dependency>
            <groupId>javax.xml</groupId>
            <artifactId>jaxrpc-api</artifactId>
            <version>1.1</version>
        </dependency>
    
        <dependency>
            <groupId>wsdl4j</groupId>
            <artifactId>wsdl4j</artifactId>
            <version>1.5.3</version>
        </dependency>
    
      </dependencies>
```

 

    

 

 

jdt的包在eclipse安装目录的plugin下，引入即可。\`java Build Path\`--&gt;Libraries--&gt;Add External JARs--&gt;Eclipse安装目录\\plugins找到添加。这样就好了