欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

如何在Intellij idea中使用Tomcat(spring boot)

程序员文章站 2022-06-17 12:31:01
...

使用springboot自带的Tomcat是没有问题的,如果要使用外部的Tomcat容器则需要作出配置

 

1.如何在Intellij idea中使用Tomcat(spring boot)
            
    
    博客分类: intellij ideaSpring Boot tomcatspring boot 如何在Intellij idea中使用Tomcat(spring boot)
            
    
    博客分类: intellij ideaSpring Boot tomcatspring boot 如何在Intellij idea中使用Tomcat(spring boot)
            
    
    博客分类: intellij ideaSpring Boot tomcatspring boot 如何在Intellij idea中使用Tomcat(spring boot)
            
    
    博客分类: intellij ideaSpring Boot tomcatspring boot 配置tomcat

如何在Intellij idea中使用Tomcat(spring boot)
            
    
    博客分类: intellij ideaSpring Boot tomcatspring boot 

 

2.这里是关键,很多时候外部tomcat配置不成功就是这里配置不正确:

如何在Intellij idea中使用Tomcat(spring boot)
            
    
    博客分类: intellij ideaSpring Boot tomcatspring boot 

 

如何在Intellij idea中使用Tomcat(spring boot)
            
    
    博客分类: intellij ideaSpring Boot tomcatspring boot 

 

如何在Intellij idea中使用Tomcat(spring boot)
            
    
    博客分类: intellij ideaSpring Boot tomcatspring boot 

 

只要这样配置即可配置外部tomcat成功。

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

相关标签: tomcat spring boot