原创 JAVA .getParameter()獲取數據爲空

說下場景,我需要前端傳一個數組到後端接口中去處理,但是一直傳輸不成功。 剛開始getParameter()方法一直獲取數據爲null,我就在想是哪塊有問題,用了各種方法, 然後轉化思路,是不是前端傳值有問題,debugger下,數據沒問

原创 linux相關擴展

使用nmap來掃描端口: 掃描特定主機:#nmap 191.168.5.110 掃描整個子網:#nmap 191.168.5.110/24 掃描多個目標:#nmap 191.168.5.110 192.168.1.5 掃描一個範圍內主機:

原创 Centos7服務器部署java web單機環境詳細教程

安裝虛擬機:VMware Workstation 安裝linux系統:Centos7.5    的版本 安裝好後,輸入以下命令: 分配IP地址:dhclient   -0:指定dhcp客戶端監聽的端口號; -d:總是以前臺方式運行程序;

原创 URLencode加密造成,請求一致,參數一致,但是查詢結果爲空

#最近用python selenium,寫自動化腳本,遇到一個難題,在使用以下方法時 driver.find_element_by_id().send_keys("***") 點擊查詢,返回數據爲空,然後手動對比了能查詢的請求數據以

原创 layerUI異步改同步

layer.confirm('是否發起流程?', { btn: ['確定', '取消'], btn1: function () {

原创 Caused by: org.xml.sax.SAXParseException: 必須爲元素類型 "insert" 聲明屬性 "resultType"。

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'timerConfig': Injection of res

原创 Consider defining a bean of type 'org.springframework.jdbc.core.JdbcTemplate' in your configuration

報錯信息: Description: Field customerRepo in com.chnvas.tour.auth.controller.AuthController required a bean of type 'org.sp

原创 org.springframework.jdbc.UncategorizedSQLException

報錯如下: org.springframework.jdbc.UncategorizedSQLException:  ### Error querying database.  Cause: java.sql.SQLException:

原创 create connection SQLException

問題描述如下: 10:51:24.314 [Druid-ConnectionPool-Create-3305495] ERROR c.a.d.p.DruidDataSource - [run,2471] - create connecti

原创 Bean * of type *[class*] is not eligible for getting processed by all BeanPostProcessors

信息: Initializing Spring root WebApplicationContext INFO : org.springframework.web.context.ContextLoader - Root WebAppli

原创 java.util.zip.ZipException 的解決方法

前幾天剛剛解決的,但是忘記怎麼弄的,現在發個筆記記錄下。 每個步驟都是一個解決方法 1.清理下maven,然後重新導入:eclipse—項目右鍵—run As—clean,然後項目右鍵—run As—Maven install,重啓項目

原创 SpringBoot @Mapper註解導包失敗問題

import org.apache.ibatis.annotations.Mapper; 如果是上面這個類導入失敗,升級下pom文件裏面的 <dependency> <groupId>org.mybatis.spring.boot

原创 Cannot read property 'nodeType' of undefined

我用的是easyui出現的問題:解決方法就是,把添加的標籤全部註釋,然後一步一步的解凍,結果發現是標籤缺失,造成easyui樣式缺失我的是<div>缺少後面的,原因是負責代碼沒複製對.

原创 org.apache.catalina.connector.ClientAbortException: java.io.IOException

遇到的問題,去百度,很多說去Tomcat去設置時間,但是沒左右,最後在頁面打斷點調試成功,才發現是關閉頁面和刷新頁面語句引起的:如果在js代碼層關閉或者刷新頁面,就會引起如下異常:org.apache.catalina.connector

原创 使用EasyUI的出現Cannot read property 'options' of undefined,樣式重複

標紅的地方都是樣式重複複製,找了半天沒發現是哪出問題,一步步排除,我的是使用modalDialog彈出一個div的jsp頁面,然後出現這種情況,結果發現導致主頁面的class重複嵌套,最後發現是div的jsp頁面引入了自定義的<%@ in