Tag:Intellij-idea

  • Modify the default mvnen plug-in image address of IntelliJ idea to speed up dependency installation

    Time:2019-11-12

    Preface 1-3 describes how to find mvnen of idea. If mvnen is installed manually, skip to 4This paper is based on Linux platform, MAC windows can be used as a reference If it is the idea installed by toolbox, the desktop startup program file is usually in the/home/$USER/.local/share/applications, program installation directory in/home/$USER/.local/share/JetBrains/Toolbox/apps/$APP_NAME If you download […]

  • Implement oauth2 (continuous update) based on spring security oauth2

    Time:2019-11-12

    Realization of oauth2 based on spring security oauth2 Article code address: link description can be downloaded and run directly. Based on springboot2.1.5, the implementation of springcloud Greenwich version The series is divided into two parts: memory implementation and database implementation. Among them, RBAC authority role management is used for database implementation. Firstly, it is declared […]

  • Summary of idea use

    Time:2019-11-11

    Idea common settings The first time we see idea is like this: Show toolbars We want to show toolbar! , two buttons Black body We want the black theme. The white one is too low! Adjust font size The font is too small now. I want the mouse wheel + crtl key to control the […]

  • Implementation of oauth2 database version based on spring security oauth2 (continuous update)

    Time:2019-11-11

    Realization of oauth2 database version based on spring security oauth2 Article code address: link description can be downloaded and run directly. Based on springboot2.1.5, the implementation of springcloud Greenwich version The series is divided into two parts: memory implementation and database implementation. Among them, RBAC authority role management is used for database implementation. In the […]

  • Java implementation of small ball collision GUI

    Time:2019-11-11

    Last updated on2019/07/08Fix the problem: Wrong input does not remind the problem The problem of graphic overlap of colliding spheres The problem of high speed ball crossing the boundary Thank I said this is a very serious technical article. Do you believe it? This article is improved on her basis. Effect illustration Basic thinking To […]

  • Java implementation simple calculator

    Time:2019-11-9

    Last updated on2019/07/08 Effect illustration Function and process To make a simple calculator, first you need to know what to display in the GUI: Results display box Numbers from 0 to 9 Deleting function Clear function Search history function Function of calculation results Bracket first calculation function Next, the following ideas are briefly introduced through […]

  • Cross domain configuration of front and back end separated SSM

    Time:2019-11-8

    Separate development at the front and back ends requires cross domain. Before that, only a configuration class is needed. The configuration of SSM is recorded below Three files need to be configured Simplecorsfilter.java implements filter public class SimpleCORSFilter implements Filter { private boolean isCross = false; @Override public void destroy() { isCross = false; } […]

  • Eslint takes effect automatically in IntelliJ idea

    Time:2019-11-7

    Install the file watches plug-in Preferences > plugins > search for “file watchers”“ Configure file watches Add configuration in Preferences > Tools > file watchers File type: Javascript Vue or any Scope: Project Files Program: $ProjectFileDir$/node_modules/.bin/eslint Arguments: –fix $FileName$ Output :$FileDir$ Reference resources https://medium.com/@reyhansof… https://medium.com/@netczuk/e…

  • Spring cloud hands on practice – Architecture Analysis and Implementation

    Time:2019-11-6

    Spring introduction Why use microservices Monomer application: Up to now, most of the web applications are single application. All the user UI, business logic and database access are packaged in one application. Disadvantages: Development interferes with each other, and communication and coordination costs increase with the continuous upgrading of applications Application online needs to be […]

  • Single sign on (continuous update) based on spring security oauth2

    Time:2019-11-5

    Single sign on based on spring security oauth2 Article code address: link description can be downloaded and run directly, based on spring boot 2.1.5, spring cloud Greenwich version. In the previous two articles, we wrote the authentication oauth2 through memoryThere is also the JDBC implementation authentication center. Next, we use oauth2 to implement the single […]

  • IntelliJ idea input code. When the code prompts, the input method will automatically switch from English to Chinese

    Time:2019-11-4

    I met a ghost today, webstorm wrote,Then the input method turns into you input an English letter.He automatically became a Chinese input methodThen I couldn’t help it. Baidu went down, and then I went to work together,It was found that there was also an oil problem: Later, I studied the problem of inputThen I right-click […]

  • Some tips on solving Maven package conflicts with idea

    Time:2019-11-4

    In our daily work, we often encounter jar package conflicts referenced by Maven. At this time, we need to find out the conflicting packages and remove the jars with low version or lack of some methods. At this time, using Maven dependency tree of idea is a good way to solve this problem. Steps: 1. […]