logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vue:从一个vue页面引入另一个vue页面的内容

1.编写被引入的页面:<template><div id="mychart" :style="{width: '500px', height: '500px'}">{{msg}}</div></template><script>export default {name: 'Footer',data () {return {msg: '【这

#vue.js#前端#javascript
React: ‘axios‘ is not defined no-undef

npm isntall axios --saveimport axios from “axios”;

#react.js
Android: an‘t toast on a thread that has not called Looper.prepare

Looper.prepare();Toast.makeText(getApplicationContext(),strTemp,Toast.LENGTH_LONG).show();Looper.loop();

Linux: 启动docker 报错applying cgroup configuration for process caused: mountpoint for devices not found

vi /etc/fstab,在最后加上tmpfs/sys/fs/cgroupcgroupdefaults00然后重启服务器 reboot

#linux
MyBatis: Type interface mapper.xxxMapper is not known to the MapperRegistry

MyBatis 配置文件里没配置相应的Mapper文件

SpringBoot 官方文档示例:(18)在application.properties中引入其他配置文件

application.properties内容如下:server.port=8709spring.datasource.url=jdbc:mysql://xx.xx.xx.xx/testspring.datasource.username=rootspring.datasource.password=xxxxspring.datasource.driver-class-name=com.mysq

#spring boot
SpringBoot 官方文档示例:(27)通过application.properties给Map对象注入属性

一、在配置类中定义Map属性package cn.edu.tju.config;import org.springframework.boot.context.properties.ConfigurationProperties;import org.springframework.context.annotation.Configuration;import java.util.HashMap;

#spring boot#java#后端
暂无文章信息