摘要: 创建maven项目 数据库表: 创建实体类 Book.java package ssm.entity; import java.util.Date; public class Book { private String isbn; private String title; private Stri 阅读全文
posted @ 2020-09-16 23:10 叶月廿柒 阅读(1686) 评论(0) 推荐(0) 编辑
摘要: 要输入的名字是@后面的 阅读全文
posted @ 2020-09-04 12:56 叶月廿柒 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 数据库拿出来的数据 // 从数据库歌单里获取歌曲 $.get('http://192.168.0.105:8888/songs',{},function(e){ // console.log(e); var str = ''; e.forEach(function(i) { str += `<a h 阅读全文
posted @ 2020-07-30 20:48 叶月廿柒 阅读(215) 评论(0) 推荐(0) 编辑
摘要: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. 百度了半天都说是跨域问题, 解决办法: 设置请求头 阅读全文
posted @ 2020-07-30 15:30 叶月廿柒 阅读(665) 评论(0) 推荐(0) 编辑
摘要: 1.创建文件夹service 2.shift+右键打开powershell 3.进入文件夹并初始化 4.查看内容 安装express包 在service文件夹下建个js文件 编辑js文件 const express = require('express') const app = express() 阅读全文
posted @ 2020-07-30 10:28 叶月廿柒 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 创建项目 创建并 配置application.yml文件 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/music?serverTimezone=UTC 阅读全文
posted @ 2020-07-24 21:17 叶月廿柒 阅读(422) 评论(0) 推荐(0) 编辑
摘要: HikariPool-1 - Exception during pool initialization.java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required并且页面报错 将mysql版本降低 <depe 阅读全文
posted @ 2020-07-24 20:33 叶月廿柒 阅读(1293) 评论(0) 推荐(0) 编辑
摘要: 新导入的idea项目,发现竟然找不到包,类,程序包不存在。 上网上找了好多博客发现都不能用 最后解决了问题,只要把maven清除一下就解决了 如图: 然后点击图上的绿色箭头 再运行即可 加油哦 阅读全文
posted @ 2020-07-24 19:15 叶月廿柒 阅读(22724) 评论(2) 推荐(2) 编辑
摘要: 即Spring+SpringMVC+MyBatis。SSM框架是spring MVC,spring和mybatis框架的整合,是标准的MVC模式,将整个系统划分为表现层,controller层,service层,DAO层四层 步骤 导包(引入依赖) 2.配置web.xml 文件 <!DOCTYPE 阅读全文
posted @ 2020-07-23 20:57 叶月廿柒 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 七月 23, 2020 11:38:35 上午 com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl error严重: init datasource error, url: jdbc:mysql://localhost:3306/d 阅读全文
posted @ 2020-07-23 11:47 叶月廿柒 阅读(5807) 评论(2) 推荐(0) 编辑