java.lang.NumberFormatException: multiple points报错解决方法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Knight_Key/article/details/83617199

报错如下:

提示写的日期工具类中stringToDate方法在线程中有问题,不太安全;

解决方法:

只需要在线程中将此类调用直接去掉,直接在线程中写日期格式,如下

在线程方法中,new SimpleDateFormat();

猜你喜欢

转载自blog.csdn.net/Knight_Key/article/details/83617199