1. Promise的状态 Promise对象有三个状态: 1. 进行中(pending) 2. 成功(resolved) 3. 失败(rejected) 2. 生成一个Promise对象 1. 构造函数 new Promise(function(resolve,reject){ }); resol ...
分类:
其他好文 时间:
2018-09-14 16:01:20
阅读次数:
223
java开发工具 在导入新项目后出现 javax.servlet.jsp.JspException cannot be resolved to a type错误信息: 解决方案: 看看项目中是否存在jsp.api.jar包。若是不存在就去tomcat中copy一份 jsp.api.jar包到项目li ...
分类:
编程语言 时间:
2018-09-13 12:08:39
阅读次数:
171
1.anisble简介anisble是一款自动化运维工具,基于Python开发,集合了众多运维工具(puppet、chef、func、fabric)的优点,实现了批量系统配置、批量程序部署、批量运行命令等功能。ansible只是提供一种框架。主要包括:(1)连接插件:负责和被监控端实现通信;(2)hostinventory:指定操作的主机,是一个配置文件里面定义监控的主机(3)各种模块核心模块,c
分类:
其他好文 时间:
2018-09-12 23:55:07
阅读次数:
682
1.promise 有3种状态,unresolved,resolved,rejected这3种状态 下面是状态的变化 简单代码 当状态是resolve的时候,调用then 回调函数;当状态是reject()的时候,调用catch 回调函数; ...
分类:
其他好文 时间:
2018-09-10 11:08:20
阅读次数:
183
引用HM.Util.Ioc 的时候报错 错误:The type name or alias SqlServer could not be resolved. Please check your configuration file and verify this type name. 原因:缺少da ...
分类:
其他好文 时间:
2018-09-07 11:52:36
阅读次数:
157
在导入与redis有关的项目时,经常报下面的错误: The type org.apache.commons.pool2.impl.GenericObje1ctPoolConfig cannot be resolved.It is indirectly referenced from required ...
分类:
Web程序 时间:
2018-09-05 14:57:07
阅读次数:
315
Breaking Biscuits 题目描述 This year, Walter’s workplace resolved to try something radically different: they’re going to change the weekly order of biscui ...
分类:
其他好文 时间:
2018-08-28 20:16:32
阅读次数:
363
1.语法: async function fn(){ //表示异步,这个函数里面有异步任务 let res=await xx;//表示后面结果需要等待 } 2.特点: 2.特点: await只能放到async函数中 相比generator语义化更强 await后面可以是promise对面,也可以数字 ...
分类:
其他好文 时间:
2018-08-28 14:13:21
阅读次数:
167
错误提示 : Purgoods cannot be resolved to a type Purgoods不能解析为一个类型 原因 : 缺少引入Purgoods类 ...
分类:
编程语言 时间:
2018-08-27 15:26:17
阅读次数:
291
jsp项目中报错: javax.servlet.jsp.PageContext cannot be resolved to a type stack overflow上找的解决方案: You will need to import in your project the JSP APIs, whic ...
分类:
编程语言 时间:
2018-08-27 14:04:32
阅读次数:
151