这次用一个简单的js循环代码,讲解一下浏览器的断点调试,这个技能对找bug很管用,以谷歌浏览器为例,其他浏览器也是一样的,只是可能源代码调试的位置不太一样,例子代码如下:
<script>
//目标查看i和sum的变化情况
var i =1;
var sum =0;
while(i<10){
sum+=i;
i++
}
console
在编写客户端程序时,直接用hive的diver class连接hive,或者写spark程序出现异常:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets at org.apache.hadoop.security.Credentials.<clinit>(Credentials.java:222) at org.apache.hadoop
在做vue2项目时出现如下错误,页面空白且控制台出现如下错误:
报错内容:
Uncaught TypeError: Cannot read properties of undefined (reading 'install') at Vue.use (vue.runtime.esm.js?c320:5709:1) at eval (index.js?5aa4:7:1) at ./src/router/index.js (app.js:491:1) at __w