随笔分类 -  千峰商城项目

摘要:1.在File中新建一个project 选择需要的依赖: 2.进行Mybatis所需的配置 将默认创建的配置文件application.propertice的文件名直接修改为application.yml。 完成MyBatis的自定义配置。 创建包beans和mappers。 application 阅读全文
posted @ 2022-04-24 22:11 临易 阅读(59) 评论(0) 推荐(0) 编辑
摘要:页面报错: Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Sat Apr 23 18:37:33 CST 2022 Th 阅读全文
posted @ 2022-04-23 19:44 临易 阅读(46) 评论(0) 推荐(0) 编辑
摘要:解决方法: 在IDEA中: 取消Enable JMX agent的勾选 Apply-->OK 再次运行,成功! 阅读全文
posted @ 2022-04-23 19:35 临易 阅读(4477) 评论(0) 推荐(0) 编辑
摘要:1.添加依赖 在pom.xml中的<dependencies> * </dependencies>标签中添加jsp、jstl依赖。 <!--整合jsp--> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tom 阅读全文
posted @ 2022-04-23 17:57 临易 阅读(56) 评论(0) 推荐(0) 编辑
摘要:There is no configured/running web-servers found! Please, run any web-configuration and hit the Refresh button!问题解决 当我们在做web项目时,经常会点击右上角的浏览器来看一下页面的显示效 阅读全文
posted @ 2022-04-15 20:55 临易 阅读(1134) 评论(0) 推荐(0) 编辑
摘要:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2022-04-15 19:39:20.900 ERROR 6564 [ 阅读全文
posted @ 2022-04-15 20:05 临易 阅读(5222) 评论(0) 推荐(0) 编辑
摘要:HikariPool-1 - Exception during pool initialization.的解决方法。 HikariPool-1-池初始化期间出现异常。 1.在application.properties中的spring.datasource.url后增加一个&useSSL=false 阅读全文
posted @ 2022-04-13 22:13 临易 阅读(4384) 评论(0) 推荐(0) 编辑
摘要:0.在SQLyog中创建数据库表users。 1.增加一个User实体类。在entity包中新建一个User类。增加属性,注解。 package com.qfedu.springboot.demo.entity; import lombok.AllArgsConstructor; import lo 阅读全文
posted @ 2022-04-12 17:42 临易 阅读(216) 评论(0) 推荐(0) 编辑
摘要:项目环境: jdk1.8 idea 2020.03 maven 3.8.4 mybatis 3.5.9 spring 4.3.6 tomcat 9.0.50 mySQL 5.7 1.创建项目 选择依赖: 创建项目成功。 删除多余文件 springboot项目基本结构 2.在springboot主配置 阅读全文
posted @ 2022-04-11 18:01 临易 阅读(100) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示