• The bean ‘xxx‘, defined in class path resource , ……


    When spring boot configures bean, there may be such an error!!! The reason is that a bean with the same name already exists. *************************** APPLICATION FAILED TO START *************************** Description: The bean ‘interceprot’, defined in class path resource [com/example/demo1/doInterceptor.class], could not be registered. A bean with that name has already been defined in file [/Users/sun/Desktop/demo1/target/classes/com/example/demo1/Interceprot.class] […]

  • Error installing opencv in vs2019


    After I installed opencv and configured the VC + + Directory – including directory, library directory and dependencies, I tested the code and made a mistake that I couldn’t open source files. I tried the Internet search method, carefully checked again and again, the path has no space, the directory exists opencv2.hpp.Please help me to […]

  • Consequences of not writing #! / usr / bin / Python in Python script in Hadoop streaming


    Inexplicable display script format error A tool is not installed, such as CGroup The mapper reducer script cannot be found

  • SQL of MySQL_ Reasonable setting of mode


    SQL of MySQL_ Reasonable setting of mode sql_ Mode is a variable that is easily ignored. The default value is null. In this setting, some illegal operations can be allowed, such as the insertion of illegal data. In the production environment, this value must be set to strict mode, so the database in the development […]

  • Let Linux terminal run multiple linux commands at the same time


    Run two or more in one rowcommandCan save a lot of time, and in theLinuxImprove the efficiency of the system. In Linux, there are three ways to run multiple files on a single linecommand:Using; symbols to run multiple commands The simplest is semicolon (;), which is used as follows: cmd1; cmd2; cmd3 CMD1 will run […]

  • MySQL error number 1129 solution


    Sqlog connection to MySQL error number 1129: mysql error 1129: Host ‘bio.chip.org’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’。 resolvent: CMD command line: mysqladmin flush-host -h -u root -p123456 solve. Extended learning Error: host is blocked because of many connection errors; unblock with ‘mysqladmin flush hosts’ reason: The same IP […]

  • 30 common reactions when the programmer dumps! The 21st has deep feelings


    Software development is full of challenges. No one is perfect. It is inevitable for programmers to write bug code. Some people are calm, others feel angry, depressed, upset or discouraged. What have we experienced in fixing bugs? This is worth exploring. This article lists some words or ideas that programmers might say when fixing bugs. […]

  • Kong gateway modifies source code to complete custom error return


    background Recently, we are deploying akongThe gateway system of,kongDefault error andkongThe prompt return of plug-in does not conform to the unified development specification By consulting the official documents and GitHub issue, we find that only by modifying the source code of Kong Lua can we meet the development requirements Tips: Response Transformer PluginsUnable to meet […]

  • Solution to the problem of “the container name” / xxx “is already in use by container xxxxxxxxx…” when creating a new docker container


    Solution to the problem of “the container name” / xxx “is already in use by container xxxxxxxxx…” when creating a new docker container 1. Detailed error prompt: /usr/bin/docker-current: Error response from daemon: Conflict. The container name “/rabbitmq” is already in use by container 8278c2b3d8ded022cf2baa3e0c41c339733331cd6e5b21720bc5db10d8afe7a. You have to remove (or rename) that container to be able […]

  • The problem of metaphysics


    An angular 2 / ionic 2 project.I have a folder called calendar dayThere’s a file in it called calendarday.tsThen he kept reporting duplicate identifier ‘component’ and duplicate identifier ‘calendar day page’ errors Then I searched tens of millions of times for any resultsIn anger, I changed the name of the folder and files to calendar […]

  • android.widget.TextView.setText() on a null object reference


    Error description java.lang.NullPointerException: Attempt to invoke virtual method ‘void android.widget.TextView.setText(java.lang.CharSequence)’ on a null object reference problem analysis The reason for the error is that textview is not the value passed in. Make sure that you have used your textview in settext()

  • JQuery pit, talk about the pits that everyone has stepped on


    1 random selector Pitfall index: 200 JQuery selector calls cost a lot and the efficiency of repeated calls is lower. The method of caching objects or chain call should be used. //Wrong way of writing $(“#button”).click(function(){ $(‘#list li’).addClass(‘strong’); $(‘#list li’).css(‘color’, ‘red’); }); //Correct writing $(“#button”).click(function(){ $lis = $(‘#list li’); $lis.addClass(‘strong’); $lis.css(‘color’, ‘red’); }); //A better […]