Tag:error

  • The abstractmethoderror reported by springcloud Alibaba is caused by a version compatibility problem

    Time:2022-5-6

    When integrating Nacos, when using feignclient to request the interface, it will report abstractmethoderror. The first reaction is that this must be a version compatibility problem, but it also took a long time to solve the version compatibility. Try various versions The error is as follows: Caused by: java.lang.AbstractMethodError: org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.choose(Ljava/lang/String;Lorg/springframework/cloud/client/loadbalancer/Request;)Lorg/springframework/cloud/client/ServiceInstance; at org.springframework.cloud.openfeign.loadbalancer.FeignBlockingLoadBalancerClient.execute(FeignBlockingLoadBalancerClient.java:88) ~[spring-cloud-openfeign-core-3.0.3.jar:3.0.3] at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:119) […]

  • [Android] understand why dialog cannot be displayed in the application from the perspective of source code

    Time:2022-5-6

    First, write a demo: image.png After running, the following errors will be reported: image.png How did this mistake come about, the so-calledtoken null is not validWhat is the token in? In this article, we will analyze the source code. 1. Error tracking First, follow the steps of the source code to track why this error […]

  • Springboot custom exception handling

    Time:2022-5-5

    Global exception handling @ControllerAdvice @RestController public class GlobalExceptionInterceptor { //Exception exception @ExceptionHandler(value = Exception.class) @ResponseBody public Result exceptionHandler(Exception e){ e.printStackTrace(); LogUtil.writeLog(“error”,”log”,e.getMessage()+e.getStackTrace()); Result result = Result.errorResult(); if (e.getClass().equals(HttpMediaTypeNotSupportedException.class)){ result.setCode(-981); result. Setmsg (“request parameter format error”); }else{ result.setCode(-998); result. Setmsg (“system execution error”); } return result; } //Runtime exception @ExceptionHandler(value = RuntimeException.class) @ResponseBody public Result exceptionHandler(RuntimeException e){ […]

  • . net AOP micro framework release — cleanaop

    Time:2022-5-4

    Cleanaop – Introduction Author: Li di (Owen) Email: jarvin_ [email protected] Microblog: site J Introduction:   AOPIt is the abbreviation of aspect oriented programming. Aspect oriented programming. Divide the logging, performance statistics, security control, transaction processing, exception handling and other codes from the business logic code, separate these behaviors into the methods that do not guide the […]

  • Laradock PHP multi version container coexistence

    Time:2022-5-3

    thinkPHP3. 2 projects use mongodb and mongoclientThe error message is shown in the figure. It can only be used in environments lower than php7. Therefore, another php56 needs to be deployed in laradock Enter the laradock directory, copy a copy of PHP FPM and name it php-fpm-56cp -r php-fpm php-fpm-562. Open docker compose YML file, […]

  • How does the nodejs process exit

    Time:2022-5-1

    There are several factors that can cause the nodejs process to exit. Some of these factors are preventable, such as the code throwing an exception; Some are not preventable, such as memory exhaustion.processThis global variable is an event emitter instance. If the process exits gracefully,processOne will be distributedexitevent. The application code can listen to this […]

  • IOS linkage view – yulinkagetableview

    Time:2022-5-1

    YULinkageTableView introduce Yulinkagetableview is a tableview with multiple scrollviews sharing the same header. View of linkage use pod ‘YULinkageTableView’ https://github.com/CombingMemory/YULinkageTableView Effect display RPReplay_Final1624278837.gif RPReplay_Final1624278882.gif characteristic Easy to use, code 0 intrusion When in use, you can add a Scrollview that needs linkage There is no need to set any proxy of Scrollview, set any property […]

  • Introduction to the basics of typescript

    Time:2022-4-29

    preface The official documents of typescript have long been updated, but the Chinese documents I can find are still in the older version. Therefore, some newly added and revised chapters are translated and sorted out. This article is compiled from “typescript Handbook”The Basics“Chapter. This article is not translated strictly according to the original text, and […]

  • N common mistakes when using @ transactional

    Time:2022-4-28

    @TransactionalIt is an annotation that we can hardly escape when using spring. This annotation is mainly used to declare transactions. Its implementation principle is to weave the implementation statements of transaction management before and after the annotation modification method through spring AOP, so developers only need one annotation to replace a series of cumbersome coding […]

  • Initramfs error after kernel upgrade. Problem solved

    Time:2022-4-27

    The prompt that initramfs cannot find / root / host or 437 or VFS appears:   1. If root The disk is on the FAT32 partition, so the kernel option should incorporate the fat related and font 437 into the kernel, and select y.   2. If Ubuntu has been installed before, after upgrading the […]

  • Aclocal-1.15: command not found error during SDK compilation

    Time:2022-4-27

    1. Specific error message: line 81: aclocal-1.15: command not found WARNING: ‘aclocal-1.15’ is missing on your system. You should only need it if you modified ‘acinclude.m4’ or ‘configure.ac’ or m4 files included by ‘configure.ac’. The ‘aclocal’ program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in […]

  • SQL Server database repair expert sqlrescue

    Time:2022-4-26

    Focus on the recovery of SQL Server database. Focus on the repair of various blackmail virus encrypted databases. Sqlrescue can be used to recover data from corrupted MS SQL Server database data files (*. MDF *. NDF files). It can save key data and avoid its loss. 1、 The main functions of sqlrescue include: Recovery […]