Spring Boot Learning 2. Deploy the project as a war package into your tomcat

Spring Boot Learning - 2. Deploy the project as a war package into your tomcat Although Spring Boot has its own tomcat, it also provides many configuration options to configure tomcat, such as port number, access address, etc., many times it may deploy multiple projects under one tomcat. It is necessary to deploy the project as a war package ...

Posted by Pethlehemm on Tue, 12 Feb 2019 08:45:18 -0800

Access https interface using Apache HttpComponents (and old DefaultHttpClient deprecated)

Preface Recently, the company has made a group of interfaces encrypted by https protocol certificate. In order to make it easier for users to use this interface, it has made an example program of access. This article records this example program.   DefaultHttpClient deprecated Access to https uses the Apache HttpComponents tool, and the De ...

Posted by SQL Maestro on Tue, 12 Feb 2019 05:51:17 -0800

Using CGlib, java.lang.NoClassDefFoundError: org/objectweb/asm/Type exception occurs

In learning to use CGlib to generate dynamic proxy objects, the source code of the project is also simple: 1 package proxy; 2 3 import java.lang.reflect.Method; 4 5 import net.sf.cglib.proxy.Enhancer; 6 import net.sf.cglib.proxy.MethodInterceptor; 7 import net.sf.cglib.proxy.MethodProxy; 8 9 public class CGlibProxy implements Metho ...

Posted by gikon on Tue, 12 Feb 2019 04:27:18 -0800

Vert.x Notes: 2.hello vert.x -- The first vert.x hello world Project

Hypothesis: This article and the following series assume that you already have some knowledge of functional programming and lambda anonymous functions in the new features of jdk1.8, and are skilled in using maven. Development environment configuration: Using the latest version of vert.x 3.0, you need to install jdk1.8 maven requires more ...

Posted by EdN on Sat, 09 Feb 2019 20:06:18 -0800

AS error "Plugin with ID'com. android. application'not found"

_When importing downloaded AS projects, we often encounter "Plugin with id'com.android.application'not found". This happens because the project lacks a build.grade. Com. android. application comes from com.android.tools.build:gradle:2.3.0 (version may be different). And com.android.tools.build:gradle:2.3.0 is defined in build.grade ( ...

Posted by nnichols on Sat, 09 Feb 2019 19:39:18 -0800

Failed to resolve: com.android.support:appcompat-v7:27.0.1 problem solving

Today, without warning, Android Studio has had another gust, spent most of the day trying many solutions on the Internet, and finally solved the problem. Let's go step by step. Step 1: This is the first bug Error:Failed to resolve: com.android.support:support-annotations:27.0.1 Install Repository and sync projectOpen ...

Posted by spdwrench on Fri, 08 Feb 2019 01:51:17 -0800

Centos7+svn+jenkins+maven+nexus+SonarQube+docker Continuous Integration Advanced Configuration (III)

Centos7+svn+jenkins+maven+SonarQube+docker Continuous Integrated Installation (I) Centos7+svn+jenkins+maven+SonarQube+docker Continuous Integrated Installation (II) 1: jenkins configures jdk, maven System Management --"Global Tool Configuration --> MAVEN Edit maven's configuration file: you can adjust the format of the display by yo ...

Posted by smarty_pockets on Thu, 07 Feb 2019 19:42:16 -0800

Building Web Development Environment with IntelliJ IDEA and Maven Management (Take Spring MVC as an example) (2)

Preface: Building Web Development Environment with IntelliJ IDEA and Maven Management (Take Spring MVC as an example) (1) How to build the web infrastructure environment has been introduced. Here we mainly demonstrate how to build the spring environment, and then combine it into a completed spring MVC Web project. Build Spring environment. 1. W ...

Posted by hubfub on Wed, 06 Feb 2019 23:18:17 -0800

maven error invalid LOC header(bad signature)

The following error was reported when executing mvn package on the command line [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project bonus-notice-webapp: Compilation failure [ERROR] Failure executing javac, but could not parse the error: [ERROR] error: read D:\dev-tool\maven ...

Posted by febrarian on Wed, 06 Feb 2019 22:45:16 -0800

CentOS 7.4 a start job is running for wait for Plymouth boot solution

Yesterday, I ran yum update on the system. There were many updates. So I clicked Y as before, and the system was updated slowly. After the updates were restarted, it was tragic that the desktop could not come out. I could not download the latest NVIDIA driver installation and report all kinds of errors. So I went to the ...

Posted by carlg on Wed, 06 Feb 2019 17:51:16 -0800