logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

启动简单的springboot项目报错:To display the conditions report re-run your..Web server failed to start...

启动一个简单的springboot项目报错:一、错误原因Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.此行意思是,启动项目时出错,如果想要详细报告,需调试(debug)程序。description才是详细内容:Web s

#spring boot#java#后端
小程序API的三大分类

小程序官方将API分成三大类:一、事件监听API特点:以on开头,用来监听某些事件的触发比如:wx.onWindowResize(function callback)监听窗口尺寸变化的事件二、同步API特点: 1.以Sync结尾2.同步API的执行结果,可以通过函数返回值直接获取,如果执行出错就会抛出异常。比如:wx.setStorageSync(‘key’,‘value’)向本地存储中写入内容。

#数据库#database#微信小程序
Vue报错 Uncaught ReferenceError: Vue is not defined解决方案

写vue的时候报错如下:Uncaught ReferenceError: Vue is not defined原因是没有在头部引入vue.js文件像下面这样在头部引入vue.js就可以了<!DOCTYPE html><html><head><meta charst ="UTF-8" /><title>A</title><

#vue.js#javascript#html
python:出现SyntaxError: unexpected character after line continuation character解决方案

用jupyter notebook写的代码及报错如下:from sklearn.model_selection import train_test_splitcancer_data_train, cancer_data_test,\cancer_target_train,cancer_target_test = \train_test_split(cancer_data, cancer_targe

#python#开发语言
Pycharm报错:FutureWarning: `distplot` is a deprecated function and will be removed in a future version

最近在使用利用seaborn包中的distplot来查看数据集的分布图时遇到如下报错引入包:import seaborn as snsfrom matplotlib import pyplot as plt因为是直接导入已有的数据进行分析,想通过此函数看一下分布类型,故此处没有设置参数。#查看数据集分布:直方图sns.distplot(test_df)plt.title('data distrib

#pycharm#python
python报错:only size-1 arrays can be converted to Python scalars 解决方案

用Pycharm进行数据分析时,对一个二元函数做处理。函数如下:代码如下:# 定义适应度函数def F(x1,x2):return (20*x1 + 10*x2 + 10*x1*x2 - math.exp(0.2 * x1) - math.exp(0.3 * x2))报错如下:TypeError: only size-1 arrays can be converted to Python scal

#python#数据分析#pycharm
暂无文章信息