运行报如下错误: SyntaxError: Non-ASCII character '\xe8' in file /home/ubuntu/code/201803091253-text.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 解决方案: 在Python文件第一行,最前面加如下代码: # -*- coding: utf-8 -*-# 声明字符编码# co
初建一个简单的spring boot 项目,启动后会报错. Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/sp
今天在学习运用vue的nuxt/koa框架,初始化项目之后,在执行 $> npm run dev 时报错,错误详细信息如下: 点击查看报错的详细内容 > npm run dev Debugger attached. > ice@1.1.0 dev > backpack dev Debugger attached. Debugger attached. ERROR Failed to compile with 1 errors 下午5:52:10 error in ./server/