Recently, during the process of using the latest version of nacos and feign, an error was encountered during startup:
Caused by: java.lang.IllegalStateException: No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?
Puzzled, the previous version of spring cloud did ...
Posted by lisawebs on Tue, 08 Mar 2022 20:32:23 +0100
1. Guide Package
Spring related packages
Spring MVC related (core related packages will be imported together)<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
Posted by mobtex on Tue, 08 Mar 2022 15:52:52 +0100
The 41st national professional ice sculpture competition with the theme of "Winter Olympic light, colorful ice lanterns" entered the second day in the ice city of Harbin. 60 ice sculpture experts launched a fierce competitive competition in the Harbin Ice Lantern Art Park.
Ice sculpture art
Bean destruction is the last ste ...
Posted by pwicks on Tue, 08 Mar 2022 13:04:27 +0100
@Usage and examples of Async annotations
In general, the method calls in Java are synchronous calls. For example, the B method is invoked in the A method. After the B method is invoked by A, the B method must wait for execution and return, and the A method can continue to execute. A problem that is easy to occur is that if m ...
Posted by kenyabob on Tue, 08 Mar 2022 13:00:29 +0100
1. What is a business?
In a series of operations on the database, ensure that they succeed or fail at the same time, and there can be no partial success or partial failure. This series of operations is called database transactions.
2. Characteristics of transactions
Atomicity: refers to that a transaction is an inseparable work unit, ...
Author | sparrow source| Alibaba cloud official account
This article is from Arthas. It was submitted in March 2021. The way of participation in the award-winning essay in April can be seen at the end of the article.
The project initially used Arthas for two purposes:
Through arthas, we can solve the problem of realizing the performance ...
Posted by tomcurcuruto on Tue, 08 Mar 2022 07:28:25 +0100
The previous article recorded the Shell operation and Java API operation of HBase, but the operation process is still cumbersome [track of HBase] (2) use HBase command and Java API to operate HBase (including complex query - filter and HBase tool class)
It would be nice if you could write SQL operation database like MySQL, and ...
Posted by clarket on Tue, 08 Mar 2022 06:42:16 +0100
Transaction management in Spring
Before understanding the business: say a lie and withdraw money, such as you go ATM There are generally two steps to withdraw 1000 yuan by machine: first, enter the password amount and deduct 1000 yuan from the bank card; then ATM Pay 1000 yuan. Both steps must be performed or neither. If the bank card deducts ...
Posted by leeandrew on Tue, 08 Mar 2022 04:03:38 +0100
Previous: SpringCloud 2020-SpringCloud config distributed configuration center (note)
1. Message driven overview
Shield the differences between the underlying message middleware, reduce the switching version, and unify the programming model of message Official website: https://spring.io/projects/spring-cloud-stream h ...
Posted by christiank on Tue, 08 Mar 2022 03:52:09 +0100
In Spring Tools 4 for Eclipse, select File - > New - > Maven Project, and then add relevant information in the interface as shown in the figure.
Posted by webent on Tue, 08 Mar 2022 03:15:37 +0100