Manually compiling java files without ide

https://imshuai.com/using-javac Tools such as IDE or maven have been responsible for compiling Java programs. However, the more advanced the tool is, the more details will be hidden. Once there is a problem, it will be confused. In the final analysis, the basic concept is not reliable. Returning to the original place, javac, will make the probl ...

Posted by Fog Juice on Wed, 02 Feb 2022 07:45:20 +0100

SpringBoot+Maven multi module aggregation POM XML common configuration

1, Two ways to judge the version of jar In Maven, the role of dependency management is actually equivalent to a manager for version management of dependent jar packages. It is the default dependency information inherited from all subprojects of the project. pom. There are two ways to judge the version of jar in XML file: If the dependency in ...

Posted by kra on Mon, 31 Jan 2022 15:03:56 +0100

TestableMock tutorial

preface TestableMock is Alibaba's unit testing tool. It supports Mock public methods, private methods, static methods, construction methods and other functions. It is easy and fast to use At present, the main Mock tools are Mockito, Spock, PowerMock and JMockit. The basic differences are as follows: toolprincipleMinimum Mock unitRestrictions ...

Posted by pbdude23 on Mon, 31 Jan 2022 11:22:18 +0100

Maven polymerization project

1.1 review of Maven basic knowledge 2.1.1 introduction to maven maven is a project management tool, which is mainly used to manage and build Java projects in the project development stage. Dependency management: the management of jar packages. Importing maven coordinates is equivalent to importing the jar package in the warehouse into the cu ...

Posted by BhA on Sun, 30 Jan 2022 22:41:28 +0100

Spring type application cannot find the main function no main manifest attribute, in / APP Jar, spring boot Maven plugin pot?

Problem phenomenon Error 1 An error is reported after the spring type application is started, no main manifest attribute, in / APP jar Error 2 During the mvn build process, the message "repackage failed" will be prompted Cause analysis In most cases, it is because of the POM in spring application The spring boot Maven plug ...

Posted by syth04 on Sat, 29 Jan 2022 06:58:08 +0100

Basic summary of spring IOC

Β  Article catalogue catalogue Article catalogue 1, What is Spring 2, Advantages of Spring framework Β  3, Detailed explanation of spring IOC mechanism Β  IOC role summary Detailed explanation of spring IOC mechanism 1, First build maven project and add dependencies 2, Create persistence layer and implementation class 3 ...

Posted by Graxeon on Fri, 28 Jan 2022 16:25:03 +0100

Maven attribute and Profile

When the project is developed based on the spring framework, a large number of spring modules need to be introduced, such as core, beans, context, jdbc, etc. when the above modules are introduced, the modules of the same version are used. At this time, we will define a maven attribute to deal with this application scenario. However, there are m ...

Posted by Riparian on Fri, 28 Jan 2022 12:40:38 +0100

@ Data@Sf4j Annotation and lombok

catalogue brief introduction lombok pom dependency use principle Advantages and disadvantages brief introduction @The main function of the Data annotation is to improve the simplicity of the code. Using this annotation can save a large number of methods in the code, such as get(), set(), toString(). lombok pom dependency If you want ...

Posted by zhangy on Thu, 27 Jan 2022 07:36:39 +0100

spark's basic Scala syntax tutorial II, operators and branch statements (idea version)

πŸ“‹ preface πŸ“‹ πŸ’ Blog home page: Red eye Aromatherapy_ CSDN blog - big data, computer theory, MySQL BloggerπŸ’ ✍ This article was originally written by Yu Xia [Hongmu aromatherapy] and was first launched in CSDN ✍ πŸ€— Biggest wish in 2022: [serve millions of technical people] πŸ€— πŸ’ Initial environment address:[ spark environment construct ...

Posted by liljim on Wed, 26 Jan 2022 20:14:12 +0100

Quickly understand Maven's core concepts and engineering practices

introduce Maven is a project management and build tool. Do you still don't know what Maven does? Project management and construction sound rather empty, For example, our alpha e-commerce project is divided into order, commodity, merchant, user and marketing modules. The order module needs the code of the user module, such as the interface ...

Posted by ORiGIN on Tue, 25 Jan 2022 05:34:00 +0100