原创 Consider defining a bean of type 'com.dao.StudentDao' in your configuration.

Description: Field studentDao in com.services.StudentService required a bean of type 'com.dao.StudentDao' that could

原创 VCard的信息

VCard(.VCF) 2.1(rfc-2426)標準通信薄基本格式08-08-13 15:56  發表於:《角落》 分類:B)語言與藝術 vCard 規範容許公開交換個人數據交換 (Personal Data Interchange P

原创 SpringBoot連接數據庫出錯

2020-01-28 19:54:01.339  INFO 15988 --- [  restartedMain] com.main.Application                     : Starting Applicati

原创 Zxing方式生成vacard聯繫方式

測試 package com.Zxing; public class Test { public static void main(String []args) throws Exception { S

原创 Html自動適配手機功能

!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>響應式佈局</title> <meta name="keywords" content="" />

原创 buantu安裝OpenResty

簡介   OpenResty是一個基於Nginx與Lua的高性能Web平臺,其內部集成了大量精良的Lua庫、第三方模塊以及大多數的依賴項。用於方便地搭建能夠處理超高併發、擴展性極高的動態Web應用、Web服務和動態網關。   OpenRe

原创 SpringBoot第一次建立項目沒有連接數據庫時

啓動的SpringBoot註解爲 @SpringBootApplication(exclude= {DataSourceAutoConfiguration.class}) @SpringBootApplication註解爲自動掃描當前包中

原创 SpringBoot+Mybatis項目

Maven依賴 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://w

原创 Not registered via @EnableConfigurationProperties or marked as Spring component

SpringBoot中,將類中的屬性和配置文件中的配置進行綁定時出現以下的問題: 當使用@ConfigurationProperties時IDEA頂部出現這樣的提示: 添加後錯誤確實是沒了,但是在SpringBoot的單元測試時會看到如下

原创 SpringBoot啓動出錯

Spring-boot項目新建出錯時 ror starting ApplicationContext. To display the conditions report re-run your application with 'debu

原创 Eureka踩過的坑

Eurekake客戶端Request execution failure with status code 404; retrying on another server if available   com.netflix.disc

原创 SpringBoot日誌

轉載 https://blog.csdn.net/liujun03/article/details/82684209   點贊 收藏 分享 文章舉報 唯♧ 發佈了31 篇原創文

原创 SpringBoot公共組件的抽取

報錯信息 020-02-01 22 [http-nio-8080-exec-1] ERROR org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8080-exec-1] Excepti

原创 Mybatis的一級緩存和二級緩存的理解和區別

一級緩存基於sqlSession默認開啓,在操作數據庫時需要構造SqlSession對象,在對象中有一個HashMap用於存儲緩存數據。不同的SqlSession之間的緩存數據區域是互相不影響的。 一級緩存的作用域是SqlSession

原创 解決:com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused:

com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect at com.sun.j