调试bug
骑码找马
学习编程
展开
-
VS“查找所有引用”查不全
关闭筛选器就可以看到全部啦!原创 2021-01-16 15:48:49 · 2930 阅读 · 0 评论 -
异常抛出分析
public class App { private static Logger logger = Logger.getLogger(App.class); public static void main( String[] args ) { System.out.println("We are going to do something interesting...."); try { throw new NullPoi.原创 2020-09-23 21:43:40 · 190 阅读 · 0 评论 -
异常捕获与日志系统搭建IDEA
使用log4j日志系统能够把程序运行的信息(包括异常以及自己加的中间信息)保存在文件中以便查阅了解系统运行状态下面总结基于Maven项目搭建日志系统1、新建Maven项目2、在POM文件中添加必要依赖 <dependencies> <!--日志 start--> <dependency> <groupId>log4j</groupId> &原创 2020-09-23 21:27:45 · 164 阅读 · 0 评论 -
【bug】@RequestBody传参部分属性为null的问题
主要是驼峰命名的锅,解决方式参见下方链接:https://www.cnblogs.com/evan-liang/p/12233905.html原创 2020-07-10 17:57:19 · 1143 阅读 · 0 评论 -
服务器重启后vncserver无法启动、连接不上问题解决
解决方案:1、终端输入:vncserver,那么可能出现如下结果:[root@hadoop ~]# vncserverWarning: hadoop:1 is taken because of /tmp/.X11-unix/X1Remove this file if there is no X server hadoop:1Warning: hadoop:2 is taken ...原创 2020-02-13 23:09:17 · 9017 阅读 · 2 评论 -
【Java】连接MySQL数据库报错:Could not create connection to database server
原因是:mysqll版本号和maven中pom文件中配置的mysql-connector版本号不同原先我的是: <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactI...原创 2020-02-03 10:08:13 · 661 阅读 · 0 评论 -
【Android】报错:import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActi
大概率是用别人的代码复制黏贴过来发现没法用应该将:import android.support.annotation.Nullable;import android.support.v7.app.AppCompatActivity;改为:import androidx.annotation.Nullable;import androidx.appcompat.app.App...原创 2020-01-09 17:19:27 · 13061 阅读 · 3 评论 -
geomesa导入:Class org.locationtech.geomesa.hbase.coprocessor.GeoMesaCoprocessor cannot be loaded Set h
错误geomesa导入报错:Class org.locationtech.geomesa.hbase.coprocessor.GeoMesaCoprocessor cannot be loaded Set hbase.table.sanity.checks to false at conf or table descriptor if you want to bypass sanity che...原创 2019-12-13 21:32:08 · 1105 阅读 · 0 评论 -
【测试】
test_catalog_shptest_feature_01/root/Desktop/china-latest-free.shp/gis_osm_natural_free_1.shpshptest_catalog_jsontest_feature_01/root/Desktop/my_josn/Point.jsongeojsonmy_testable_95test_f...原创 2019-12-04 21:03:36 · 258 阅读 · 0 评论 -
【Bug】RDD转DataFrame:RDD无法调用toDF方法
加个导入import sparkSession.implicits._原创 2019-09-28 16:11:14 · 709 阅读 · 0 评论 -
Spark程序报错:JVM申请的memory不足解决办法
在IDEA下设置设置应用程序的 VM optionsidea的设置路径在:Run -Edit Configurations-Application选择对应的程序,设置VM options,如下:-Xms256m -Xmx1024m原创 2019-09-28 16:07:54 · 316 阅读 · 0 评论