Solve the problem of type conversion error of swagger

Today, it was found that when the project was started, a pile of error reports would be printed. scared. After checking, I found the error prompt of swagger. It does not affect the function. But looking at a pile of mistakes is also disturbing, isn't it? So we still have to solve it. 2020-11-04 10:50:46,383 [http-nio-9292-exec-3] WARN i.s.m. ...

Added by jumpenjuhosaphat on Fri, 12 Nov 2021 14:21:52 +0200

SpringBoot practice: a move to achieve an elegant response to the results

premise Regardless of the size of the system, most Spring Boot projects provide Restful + json interfaces for front-end or other service calls. The format is unified and standardized. It is not only a symbol that programs are kind to each other, but also a basic guarantee to reduce scolding during joint debugging. Generally, the response resu ...

Added by Fabis94 on Thu, 04 Nov 2021 15:47:51 +0200

idoc, an artifact generated automatically from java documents

Write document As a developer, everyone has to write code. At work, almost every developer has to write documents. Because the work is the cooperation between people, the product needs to write requirements documents, the development needs to write detailed design documents and interface documents. However, as a lazy person, one of the most ...

Added by sycoj0ker on Thu, 14 Oct 2021 20:36:00 +0300

[Java Foundation] How to accept an array or collection in the background by the front end (case details)

[ChenRen tries hard]: hello, I'm ChenRen. I'm glad you can read it. Nickname is that I hope I can keep improving and move forward to excellent programmers! The blog comes from the summary of problems encountered in the project and programming. Occasionally there will be reading and sharing. I will update the summary of relevant knowledge point ...

Added by Sakujou on Tue, 05 Oct 2021 03:05:59 +0300

Niuke community project (development and registration function)

When the project is complex, you need to change your thinking and disassemble the problem. The function is mainly divided into three aspects: the first is to visit the registration page, the second is to submit registration data, and the third is to activate the registration account. Or according to the three-tier logic. Further refinement is: ...

Added by anonymouse on Sun, 03 Oct 2021 22:57:20 +0300

Execution process, Controller, RestFul style, data processing and jump of Spring MVC

Spring MVC-1 summary Spring MVC is a part of the Spring Framework. It is a lightweight web framework based on java to implement mvv. View official documents: https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc Why should we learn spring MVC? Features of Spring MVC: Lightweight, easy to learnFunny, request resp ...

Added by spheonix on Wed, 22 Sep 2021 19:22:59 +0300

Spring MVC restful style to realize addition, deletion, modification and query

Restful style: A software architecture style, design style, not a standard, only provides a set of design principles and constraints. It is mainly used for client and server interaction software. The software designed based on this style can be more concise, more hierarchical, and easier to implement caching and other mechanisms. URL definiti ...

Added by cyrixware on Tue, 21 Sep 2021 23:05:31 +0300

Chapter 20: Comments

Preface 1. Annotations are also called metadata 2. The advent of annotations simplifies some duplicate development and often works with aop 3. Annotations without arguments are called label annotations 4. Cleaner, more readable code for easy expansion 5. and compile-time type checking 1. Meta-Notes Meta Annotation is responsible for ...

Added by Gary Kambic on Fri, 10 Sep 2021 07:29:46 +0300

Spring Cloud learning notes

Why learn Spring Cloud In project development, with more and more businesses, it leads to high coupling between functions, low development efficiency, slow system operation, difficult to maintain and unstable. Microservice architecture can solve these problems, and Spring Cloud is the most popular implementation of microservice archit ...

Added by johnnyv on Wed, 08 Sep 2021 08:36:52 +0300

Spring cloud quick start, how do Java developers become architects step by step

Feign is a declarative and templated HTTP client developed by Netfix. It can help us call HTTP API more quickly. It supports its own annotations, Jax RS annotations and spring MVC annotations, and also integrates Ribbon and Eureka. By using feign, the Rest request can be hidden and disguised as a Controller similar to spring MVC. You don't have ...

Added by jayskates on Mon, 06 Sep 2021 05:22:46 +0300