springboot
springboot项目练习
LetsStudy
The growth of age will not be a hindrance to study.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
1.4 搭建springboot后端问题记录
1、mysql版本报错 修改mysql版本为8.0.12 修改时区 set global time_zone='+8:00';//修改全局时区 flush privileges;//立即生效 2、tomcat依赖问题 将这两个依赖给注释掉,问题得以解决 3、驱动废弃问题 更新application.properties, 将spring.datasource.driver-class-name=com.mysql.jbdc.Driver 修改spring.datasource原创 2022-04-11 10:57:41 · 963 阅读 · 0 评论 -
1.3 springboot后端项目搭建
1、新建项目 2、com/example/demo/pojo/User package com.example.demo.pojo; public class User { int id ; String username; String password; public int getId() { return id; } public void setId(int id) { this.id = id;.原创 2022-04-08 14:21:44 · 349 阅读 · 0 评论 -
1.2 vue3项目问题记录
1、axios全局配置 vue2中使用的是 Vue.prototype.$axios = axios 然后在组件中使用this调用 this.$axios vue3中没有this,可以有两种方式绑定全局 app.config.globalProperties.$axios = axios 在组件中使用getCurrentInstance()方法获取实例后调用 const internalInstance = getCurrentInstance().appContext.config原创 2021-01-26 19:13:24 · 1129 阅读 · 0 评论 -
1.1 搭建vue项目
vite:https://vitejs.cn/guide/#community-templates 一、搭建vue项目 npm init vite@latest demo -- --template vue-ts npm install npm run dev 二、安装依赖 package.json "dependencies": { "axios": "^0.26.1", "element-plus": "^2.1.7", "vue": "^3.2.25"原创 2021-01-20 11:52:56 · 472 阅读 · 0 评论
分享