I got the source code of tomcat 8.0 , and compiled them by maven in Intellij IDEA 14.1.
Now, it can be used to import to intellij directly if you would like to read the source code .
- catalina-home : binary distribution file
- tomcat-code : source code which you can check out via svn
- tomcat-8.0-doc : full documentation (this directory is optional)
- PDF-resource : the important resource to study tomcat source code (this directory is optional)
Just the catalina-home
and tomcat-code
must exist
- import into IDEA
- Find
tomcat-code/java/org/apache/catalina/startup/Bootstrap.java
- Run
main()
method