断弯刀

导航

上一页 1 2 3 4 5 6 7 ··· 13 下一页

2018年11月17日 #

$event Object angularjs

摘要: You can pass the $event object as an argument when calling the function. The $event object contains the browser's event object: 阅读全文

posted @ 2018-11-17 17:47 断弯刀 阅读(168) 评论(0) 推荐(0) 编辑

cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'. One of '{"http://java.sun.com/xml/ns/javaee":init-param}' is expected.

摘要: 第一种方案: 将 "http://java.sun.com/xml/ns/javaee" 换为 "http://java.sun.com/xml/ns/j2ee" 错误,错误原因为 根元素<web-app>中的模式文件不对,javaee只支持单个的config,要换成 j2ee 经过测试,修改完还会 阅读全文

posted @ 2018-11-17 17:43 断弯刀 阅读(1019) 评论(0) 推荐(0) 编辑

js数组方法大全

摘要: JavaScript中创建数组有两种方式 (一)使用 Array 构造函数: (二)使用数组字面量表示法: 数组的方法有数组原型方法,也有从object对象继承来的方法,这里我们只介绍数组的原型方法,数组原型方法主要有以下这些: join()push()和pop()shift() 和 unshift 阅读全文

posted @ 2018-11-17 17:41 断弯刀 阅读(142) 评论(0) 推荐(0) 编辑

2018年11月16日 #

正则表达式

摘要: 正则表达式 地狱-天堂之说,源自老程序员的话.老程序员告诉我们,没有正则表达式就像地狱一般,有了正则表达式我们就像进了天堂一样.好,我们下面看这么几个需求: 需求1:“192.168.10.5[port=8080]”,这个字符串表示IP地址为192.168.10.5的服务器的8080端口是打开的,请 阅读全文

posted @ 2018-11-16 07:10 断弯刀 阅读(439) 评论(0) 推荐(0) 编辑

2018年11月15日 #

切换用户身份su与sudo

摘要: 普通用户切换到root用户的方式有:su和sudo。 1,su - (su为switch user,即切换用户的简写) 格式:su -l USERNAME(-l为login,即登陆的简写) -l可以将l省略掉,所以此命令常写为su - USERNAME 如果不指定USERNAME(用户名),默认即为 阅读全文

posted @ 2018-11-15 18:33 断弯刀 阅读(1330) 评论(0) 推荐(0) 编辑

2018年11月14日 #

Linux防火墙

摘要: CentOS7默认的防火墙不是iptables,而是firewalle.CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。firewall:systemctl start firewalld.service #启动firewallsystemctl stop 阅读全文

posted @ 2018-11-14 21:26 断弯刀 阅读(1433) 评论(0) 推荐(0) 编辑

Unable to connect to zookeeper server within timeout: 5000

摘要: 错误 1 可能原因服务器防火墙未关闭 关闭Linux防火墙(点击查看) 2 请检查IP与端口是否填写正确,检查注册中心是否正常启动 阅读全文

posted @ 2018-11-14 21:24 断弯刀 阅读(7616) 评论(0) 推荐(0) 编辑

Caused by: java.lang.ClassCastException: org.springframework.web.SpringServletContainerInitializer cannot be cast to javax.servlet.ServletContainerInitializer

摘要: 报错 pom.xml 改为 阅读全文

posted @ 2018-11-14 18:17 断弯刀 阅读(2446) 评论(0) 推荐(0) 编辑

-bash: updatedb: 未找到命令

摘要: yum install mlocate安装locate 阅读全文

posted @ 2018-11-14 16:58 断弯刀 阅读(687) 评论(0) 推荐(0) 编辑

Cannot detect Web Project version. Please specify version of Web Project through Maven project property <webVersion>. E.g.: <properties> <webVersion>3.0</webVersion> </properties>

摘要: 鼠标放在问题出会出现set web project version to 3.0和set web project version to 3.1两个选项 随便选一个版本就好了 阅读全文

posted @ 2018-11-14 13:41 断弯刀 阅读(261) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 13 下一页