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
[spring boot][thymeleaf] often reports exceptions because there is no end tag in html-solution
When using thymeleaf as template engine in spring boot, although it meets the decoupling requirement to a large extent, it is often overwhelmed by its strict HTML 5 format (e.g., the need for an end tag).
Solution:
Change the default value of spring.thymeleaf.mode to strict mode of "HTML5" instead of "LEGACYHTML5" non-str ...
Posted by ivory_kitten on Fri, 08 Feb 2019 19:00:18 -0800
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
slfj4 dependency conflict
Production situation
in use
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>1.4.2.RELEASE</version>
</plugin>
When packaging the spring boot project, the 1.4.2 version of s ...
Posted by zab329 on Fri, 08 Feb 2019 13:21:17 -0800
IDEA Builds Spring MVC+Mybatis+Mysql+Maven Framework
Related environment
Intellij IDEA Ultimate
Tomcat
JDK
MySql 5.6(win32/win64)
Maven (available from Intellij IDEA)
Steps to build
Creating Project Engineering
1. Create a project and choose Maven
2. Fill in project information
Initialization configuration
1. Maven configuration
Let's start with Maven's project dependency configuration file p ...
Posted by priya_amb on Thu, 07 Feb 2019 19:03:17 -0800
Django+Apache+mod_wsgi deployment under Ubuntu
OS: Ubuntu16.04LTS
Django: 1.11
Python: 2.7.11
Apache: 2.4
This article is just a simple deployment of Django+Apache
First, put the Django Project in the / var/www directory
1. Install Apache and mod_wsgi
sudo apt-get install apache2
sudo apt install libapache2-mod-wsgi
pip install virtualenv
2. Modi ...
Posted by vbnullchar on Thu, 07 Feb 2019 16:03:16 -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
File Transfer between Local windows Machine and Remote Linux Server -- Xshell uploads and downloads files using sftp
1. Log on to a remote Linux server:
[c:\~]$ sftp root@192.168.233.136
1.1. Enter for certification:
1.2. The login was successful:
Upload files to server:
2.1 Upload Operation
Drag and drop the file to the current window.
Another way - using commands:
sftp:/root> lcd E:\Installation package\linux l ...
Posted by growler123 on Wed, 06 Feb 2019 19:21:17 -0800
Spring 3 and Java 8 Failed to read candidate component class errors
Recently, when I was working on a project, I met a problem. After a long time of trying many online methods, I failed to find a solution. Finally, I found a solution.
http://blog.csdn.net/yhl_jxy/article/details/52999571
The following is an error report:
15:36:43,156 ERROR DispatcherServlet:466 - Context initiali ...
Posted by brandondrury on Wed, 06 Feb 2019 16:27:17 -0800
Cause: org.apache.ibatis.executor.ExecutorException: Executor was closed
background
mybatis is used only, but spring is not used because it involves multiple data sources, so each query uses the mapper factory method to create mappers to execute select or Update.
Executor was closed when the same mapper executed select and executed update.
Solve
Log
2018-05-30 17:09:58,941 DEBUG [org.apache ...
Posted by JayFM on Wed, 06 Feb 2019 08:54:16 -0800
Linux+Solr+Zookeeper-01: Build Solr Service (non-cluster) and register it as Service Service Service.
[Super Connection: Linux+Solr+Zookeeper Series - Chapter 1]
This article mainly explains how to build Solr service on Linux server and make it a Service service.
The Solr service built in this paper is non-clustered (non-SolrCloud mode), and is only used for Solr's single service use.
1. environment
Ubuntu 16.04 L ...
Posted by lostboy on Tue, 05 Feb 2019 12:27:16 -0800