JavaWeb+Vue

2022/02/14

Vue、Javaweb第一次再本地调通

1.Vue项目

 

 

 

 

 

/++++++++++++++++++++++++++++++++分割线++++++++++++++++++++++++++++++++++++++++++++++++/

Idea2021.2.2创建JavaWeb第一个Servlet

一、Tomcat配置

  参考地址   https://www.bilibili.com/video/BV11U4y1u7L3?p=94

  

 

 二、创建项目

  https://blog.csdn.net/qq_43012792/article/details/108528925

三、创建Servlet

      https://blog.csdn.net/weixin_45518468/article/details/116902257

四、运行成功

  

 

 

 ++++++++++++分割线+++++++++++++++

ps:Mac安装Tomcat 

 

 

==> tomcat@8
Configuration files: /opt/homebrew/etc/tomcat@8

tomcat@8 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.

If you need to have tomcat@8 first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/tomcat@8/bin:$PATH"' >> ~/.zshrc


To restart tomcat@8 after an upgrade:
  brew services restart tomcat@8
 brew services stop tomcat@8
Or, if you don't want/need a background service you can just run:
  /opt/homebrew/opt/tomcat@8/bin/catalina run

  

 

 

posted @ 2022-02-11 16:46  徒步阳光855  阅读(437)  评论(0编辑  收藏  举报