![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
夜已深,请小心
这个作者很懒,什么都没留下…
展开
-
Springboot整合jsp出现Could not resolve view with name Index in servlet with name dispatcherServlet
新手在学Springboot整合jsp的时候出现的一个问题问题描述:无法在名称为“ dispatcherServlet”的servlet中解析名称为“ Index”的视图问题分析:在控制层: @RequestMapping("/TestIndex") public ModelAndView Test() { System.out.println("hello"); ModelAndView mv = new ModelAndView();原创 2020-05-26 20:00:08 · 10964 阅读 · 2 评论 -
Springboot启动出现了Error creating bean with name userController
编程菜鸟在启动springboot出现了错误:D:\Windows\Jdk14\jdk-14\bin\java.exe -Dvisualvm.id=460544745239900 -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Ds原创 2020-05-26 18:32:04 · 24936 阅读 · 3 评论 -
学习日常-Servlet集成Shiro
一个简单的Servlet集成Shiro案例开发工具:IDEApom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P原创 2020-05-17 17:48:10 · 412 阅读 · 0 评论 -
学习日常-SpringMvc之拦截器
新手进行的一个简单拦截器开发开发工具: IDEA项目结构pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P原创 2020-05-17 15:41:57 · 219 阅读 · 1 评论 -
Springboot集成jsp出现的500,找不到模板引擎
新手在学springboot集成jsp的时候出现的问题错误代码:问题:在templates文件下建立了Index.html,访问的时候跳转过去了,说明了最后一直跳转的是templates文件下的路径解决方案:在全局配置文件application.properties,写入这两句话spring.thymeleaf.cache=falsespring.thymeleaf.enabled=false运行结果...原创 2020-05-13 14:51:54 · 661 阅读 · 1 评论 -
Mybatis-plus整合Springboot的时候出现Unknown column 'username' in 'field list'
新手在练习Mybatis-plus整合Springboot的实现出现了Unknown column ‘username’ in ‘field list’错误代码: The error may exist in com/example/springboot/demo01/Dao/UserMapper.java (best guess)### The error may involve defaultParameterMap### The error occurred while setting par原创 2020-05-11 16:09:16 · 3291 阅读 · 0 评论 -
SpringBoot整合SSM的时候单元测试出现Failed to load ApplicationContext
错误问题:java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.s原创 2020-05-10 22:31:58 · 766 阅读 · 0 评论 -
SSM框架之通过id查询用户
#####这是基于上一篇登录模块之上的通过id查询用户开发工具:IDE: IDEA2020数据库:Mysql5.7JDK1.8项目结构:由于是基于之前的登录模块,我就贴有改动的部分了。UserMapperpackage cn.fvti.Study.Dao;import cn.fvti.Study.Bean.User;import org.springframewor...原创 2020-05-07 16:29:36 · 4579 阅读 · 4 评论 -
SSM框架之实现登录模块
这是自己做的一个SSM框架的登录模块。开发工具:IDEA2020,JDK1.8,navicat15运行结果:首先是数据库图片:接下来是项目结构:最后是建表语句:```sqlSET NAMES utf8mb4;SET FOREIGN_KEY_CHECKS = 0;-- ------------------------------ Table structure for ...原创 2020-05-02 21:10:11 · 1595 阅读 · 2 评论