- 黑马旅游网的例子
- 本人已成功完成,并成功运行 😄
-
从**仓库下载指定的包
mvn dependency:get -DremoteRepositories=url -DgroupId=groupId -DartifactId=artifactId -Dversion=version -
注解中不加/引发的错误 @WebServlet("regeistUserServlet")
Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (default-cli) -
不加 ?useUnicode=true&characterEncoding=utf-8 汉字写入mysql会显示 ?
url=jdbc:mysql:///travel?useUnicode=true&characterEncoding=utf-8 -
运行前先打开redis的server
-
为了注册后能注册激活,注册时请输入正确邮箱,并且将cn\itcast\travel\util\MailUtils.java中的USER和PASSWORD填写为正确的qq邮箱地址和登录授权码
├─.idea
│ ├─artifacts
│ └─libraries
├─src
│ └─main
│ ├─java
│ │ └─cn
│ │ └─itcast
│ │ └─travel
│ │ ├─dao
│ │ │ └─impl
│ │ ├─domain
│ │ ├─service
│ │ │ └─impl
│ │ ├─util
│ │ └─web
│ │ ├─filter
│ │ └─servlet
│ ├─resources
│ └─webapp
│ ├─css
│ ├─error
│ ├─fonts
│ ├─images
│ ├─img
│ │ └─product
│ │ ├─size2
│ │ ├─size4
│ │ └─small
│ ├─js
│ └─WEB-INF
└─target
├─apache-tomcat-maven-plugin
├─classes
│ └─cn
│ └─itcast
│ └─travel
│ ├─dao
│ │ └─impl
│ ├─domain
│ ├─service
│ │ └─impl
│ ├─util
│ └─web
│ ├─filter
│ └─servlet
├─generated-sources
│ └─annotations
├─maven-status
│ └─maven-compiler-plugin
│ └─compile
│ └─default-compile
└─tomcat
├─conf
├─logs
├─webapps
└─work
└─Tomcat
└─localhost
└─travel