原创 SpringBoot 啓動報錯 Unsatisfied dependency expressed through field 'coreService'

今天幫別人解決一個問題,因爲使用的feign進行系統間調用出現了Unsatisfied dependency expressed through field 'coreService'  的問題 遠程調用的接口 @FeignClien

原创 部署當中的問題nginx

nginx 配置動靜分離 配置文件服務器;   圖片服務器需要注意 返回顯示圖片請求頭 直接下載    

原创 切換數據庫服務導致springboot啓動問題

記錄一下昨天遇到的問題: 切換成阿里雲的mysql服務以後,springboot服務啓動報錯;提示數據庫表不存在; com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Ta

原创 Maven 衝突

打開方式:   方法一:該工具有個Maven Projects窗口,一般在右側能夠找到,如果沒有可以從菜單欄打開:View>Tool Windows>Maven Projects;選擇要分析的maven module(idea的modul

原创 GIT提交

今天git代碼執行了 git add .        git commit -m ""   git push 三條語句後 還是沒有提交 原來git commit -m ""要求後面的註釋必須寫上相對應的註釋

原创 BeanFactoryPostProcessor 與BeanPostProcessor的區別

原文鏈接:https://www.jianshu.com/p/fb39f568cd5e 原文地址:https://www.cnblogs.com/dreampig/p/9036077.html

原创 BeanFactory 與FactoryBean的區別

原文鏈接:https://www.cnblogs.com/aspirant/p/9082858.html 原文鏈接:https://www.cnblogs.com/aspirant/p/9082

原创 Spring問題

1、Spring加載過程  refresh()的十二個步驟 2、BeanFactory與FactoryBean 3、BeanPostProcessor與BeanFactoryPostProcessor 4、Spring中Bean的生命週期

原创 啓動jar

#!/bin/bash #pname=$1 pname=scanner.jar puser=root   pid=`ps aux | grep $pname | grep $puser | grep -v grep | awk '{pri

原创 BeanFactoryPostProcessor注入spring對象

實現BeanFactoryPostProcessor重寫postProcessBeanFactory()可以得到ConfigurableListableBeanFactory也就得到了spring應用的上下文環境 //獲取到spri

原创 Spring aop

面型切面:幾個概念   切面(Aspect)   切入點(PointCut) 連接點(JoinPoint) 通知(Advice){包括前置before通知、 after後置通知、,afterReturning,afterThrowing,

原创 SpringBoot事務

1、開啓事務 @EnableTransactionManagement 2、添加事務註解 @Transactional 3、添加事務管理器Bean @Bean(name = "readDataSourceSqlSessionTemp

原创 spring比價好的文章

https://www.jianshu.com/p/1ca5f25f5b96     https://github.com/seaswalker/spring-analysis/blob/master/note/Spring.md#env

原创 源碼解析

https://www.jianshu.com/p/1ca5f25f5b96     https://github.com/seaswalker/spring-analysis/blob/master/note/Spring.md#env

原创 linux查找對應端口的進程id

lsof -i |grep 8888 kill -9 進程號