Analysis and Solution of Maven 3-Maven Dependent Version Conflict

Extracted from: https://www.cnblogs.com/aspirant/p/8532962.html Give an exampleA relies on B and C, while B relies on X and Y, while C relies on X and M. A will introduce X, Y and M dependency packages besides B and C dependency packages. (Generally, Maven can control transfer dependencies by < scope> and so on.)Here's a special note: ...

Posted by xiledweb on Sun, 21 Jul 2019 00:53:52 -0700

Spring Cloud (Finchley Version) Tutorial: Registration and Discovery of Services Eureka

Introduction to spring cloud The current version of spring cloud has been updated to Finchley, which supports Springbott version 2.0 or more. The specific version can refer to the table below. Cloud code Boot version (train) Boot version (tested) lifecycle Angle 1.2.x incompatible with 1.3 EOL in July 2017 Brixton 1.3.x 1.4.x 20 ...

Posted by khanuja.sunpreet on Sat, 20 Jul 2019 18:47:51 -0700

How Spring Boot Creates Custom starter

Background: (1) Sometimes in the company, sometimes self-developed middleware needs to be depended on by other projects. At this time, starter can be directly introduced to realize automatic configuration, which can make the code of other projects pollution-free intrusion. (2) Spring Boot uses starter ...

Posted by Wabin on Thu, 18 Jul 2019 20:37:17 -0700

java object copy

java assignment is to copy object references. If we want to get a copy of an object, using assignment operation can not achieve the goal: @Test public void testassign(){ Person p1=new Person(); p1.setAge(31); p1.setName("Peter"); Person p2=p1; System.out.println(p1==p2);//true } If you create a new copy of an object, that is to say, ...

Posted by aneesme on Tue, 16 Jul 2019 14:57:45 -0700

Referencing third-party dependency libraries for Module compiled aar in Android

| Question In a recent project, because there were too many modules, consider replacing the module library with an aar reference. However, according to the normal way aar was introduced, there were various errors: ClassNotFindException and so on | Background Development environment: Android Studio + Gradle Currently, there are several ways to d ...

Posted by Kibeth on Tue, 16 Jul 2019 10:17:38 -0700

(1) Registration of Spring Cloud Eureka Services in Discovery, and Part of the Analysis

Spring Cloud is a distributed system that provides more flexible configuration and use. The function is very rich. Eureka Server will provide service registration service, after each service node starts, it will register in Eureka Server, so that Eureka Server has the information of all service nodes, and Eureka has a monitoring page, which ca ...

Posted by devxtech on Fri, 12 Jul 2019 19:37:38 -0700

spring mvc mybatis integrated trampling pit

I haven't written a few articles since I opened the garden for so many years. Now I think it's not good to just read other people's articles. I'll write it myself. Just write about the problems I met when I was doing the integration of spring mvc and mybatis on this day. 1 spring and mybatis integration I believe everyone has done it, but I s ...

Posted by slweb on Wed, 10 Jul 2019 18:06:03 -0700

Android releases personal open source projects to JCenter in two ways: digging and filling (2)

Preface The previous article introduced submitting open source projects to JCenter -, through gradle-bintray-plugin Android releases personal open source projects to JCenter in two ways: digging and filling (1) This article introduces the second way to publish open source projects to JCenter through the bintray-release plug-in. About the re ...

Posted by inspire on Wed, 03 Jul 2019 12:15:04 -0700

The latest Android studio publishes Library libraries to the JCenter server

Preface: After the transition from eclipse to Android studio, the introduction of third-party libraries has become relatively simple, no longer downloading the jar itself, but simply using a simple configuration message from build.gradle.The following: compile 'com.voctex.banner:banner:1.0.0' In fact, Android studio configures this informat ...

Posted by broomstick on Wed, 03 Jul 2019 09:08:06 -0700

SpringBook Framework @EableAutoConfiguration Project Application

Scenario: In the project, if you want to automatically assemble other customized Maven project library configurations in the current maven project, you will get multiple maven references. If you want simple configurations, spring boot will automatically assemble database configuration classes. From then on, we think about how our new project a ...

Posted by sasori on Sun, 30 Jun 2019 16:38:56 -0700