搭建好SSM项目 这个之前已经讲过,参考之前案例整合教程 项目中引入相关依赖 <!-- shiro相关的依赖 --> <dependency> <groupId>org.apache.shiro</groupId>