HandlerExceptionResolver interface custom exception
Use @ ExceptionHandler annotation
File upload and download
If it's a picture, please refer to another Spring boot spring boot single / multi image upload and echo
1.SimpleMappingExceptionResolver cl ...
Posted on Tue, 18 Feb 2020 04:17:23 -0800 by greenba
Have you ever thought about the Eclipse you use every day
What kind of garbage collector does it use?
How many GC S have been executed at startup?
Can you tune its startup speed?
In this article, I will introduce how I can tune Eclipse to make its startup speed increase by 1.5 seconds.
You may say that it's only 1.5 seconds. It needs to be s ...
Posted on Thu, 06 Feb 2020 22:12:29 -0800 by svanderclock
Why use CMake to compile code and upload it to arduino?
When large software projects need to be developed, the Arduino IDE becomes clumsy in code management.
If you often want to compile code from the command line or from eclipse that can be done automatically
Finally, you can build and distribute firmw ...
Posted on Wed, 29 Jan 2020 00:23:20 -0800 by Spaceman-Spiff
Getting started with Mockito for Eclipse
In Java unit testing, we often encounter scenarios that depend on other modules, but other modules are not well developed, such as the following figure:
The "tested module A" depends on the module B/C/D. during unit test, you can Mock the B/D (Note: you do not need ...
Posted on Tue, 28 Jan 2020 07:24:19 -0800 by Karve
Greedy snake in Java games
Greedy snake is a puzzle game. Through the design and implementation of this game, you can improve your Java technology ability, enhance your independent development ability and master the development process of the project.
System en ...
Posted on Mon, 27 Jan 2020 00:02:59 -0800 by phpian
This article is for reference https://www.cnblogs.com/lsdb/p/9783435.html Learn to organize your study notes.
Eclipse IDE for Enterprise Java Developers(Version: 2019-09 R (4.13.0))
2, Install the Spring plug-in
Open Eclipse, select Help - > Eclipse ...
Posted on Tue, 21 Jan 2020 05:49:20 -0800 by xander85
1. About JPS
JPS (full name: Java Virtual Machine Process Status Tool). A tool that comes with you under the% JAVA_HOME%/bin directory after you install JDK. Used to view JAVA processes running on the computer. (as shown in the figure below) on the Linux machine, I usually use ps -aux|grep java.
The tool is only 16KB, which ...
Posted on Thu, 02 Jan 2020 19:16:03 -0800 by watsmyname
The project needs to realize Android message push, which is pre researched Aurora push,Alicloud MQTT Finally, Alibaba cloud MQTT is selected.
The specific implementation steps are as follows:
1. Add dependency:
Add in build.gradle under the project root directory:
url "https://repo.eclipse ...
Posted on Fri, 06 Dec 2019 16:43:37 -0800 by JayBlake
By GXIC wongxmig Finish, welcome to follow IoT developer community.
1.1 register alicloud account
Use personal Taobao account or cell phone number to open the account of Ali cloud, and pass the real name authentication (can be certified by Alipay).
1.2 free IoT Suite
Product official website https://www.aliyun.com/product/iot
Posted on Fri, 06 Dec 2019 02:52:32 -0800 by chris_rulez001
In this article, we use Java to generate a poster imitating Golden Mountain Ciba.
As long as you can still grab a breath, you fight. As long as it lasts, you will have to fight.
For a while, I was particularly fascinated with the daily poster of Golden Mountain Ciba.Because not only the pictures on the posters are beautiful, but also the words ...
Posted on Thu, 14 Nov 2019 13:12:34 -0800 by Leppy