Although more and more domestic excellent technical products have gone abroad, developers in various fields still rely heavily on foreign basic resources. Therefore, some basic network skills have always been needed to master, but speed and stability problems have always troubled us.
So, today I recommend two speed enhancers for Java developers: Maven’s domestic mirror and Spring’s domestic scaffolding!
Maven’s domestic mirror
Website: maven.aliyun.com/
For every Java development, there must be a situation where you can’t pull a dependency. Therefore, we strongly recommend that you install the development environment, ali on the domestic mirror configuration, save all kinds of unnecessary trouble in the future.
The configuration method is very simple, just need to find Maven setting.xml file, and then add ali Cloud warehouse configuration in the image configuration, as follows:
<mirrors> <id> Aliyunmaven </id> <mirrorOf>*</mirrorOf> <url>https://maven.aliyun.com/repository/public</url> </mirror> </mirrors>Copy the code
Spring’s domestic scaffolding
Website: start.aliyun.com/
The domestic scaffolding of Spring is the customized version of Spring Initializr released by Alibaba middleware recently. Thanks to its friendly Chinese and smooth speed, it has attracted the attention and hot spread of developers.
Java developers using Spring can easily create a basic Spring Boot project through this interface and introduce any Spring Boot Starter components or Spring Cloud features you need.
In addition, we can also use it in the new project of IDEA to speed up the original creation method. The operation is very simple, just need the following two steps:
Step 1: Select “File” — “New” — “Project…” from the menu.
Step 2: on the left side of the project type, select the “Spring Initializr”, on the right side you can see model using the scaffold is Spring official address, we only need to choose custom, then fill in the https://start.aliyun.com/, click “Next”!
And you’re done! The subsequent creation instructions are the same as the original operation, but the metadata acquisition and generation process of the project components has been changed to start.aliyun.com, which is closer to us and has better service, instead of going through the official website address far abroad.
Isn’t it nice to have all these environments taken care of? Cool then you can start learning! Finally, I’d like to recommend two tutorials that I’ve been maintaining for a long time:
- Spring Boot Basics tutorial
- Spring Cloud Basics tutorial
Domestic Java developers must have two magic tools! Welcome to pay attention to my official account: Program ape DD, for exclusive learning resources and daily dry goods push. If you are interested in my feature content, you can also follow my blog: didispace.com