idea新增maven依賴失敗案例之:tomcat啟動總是報錯:No qualifying bean of type 'org.codehaus.jackson.map.ObjectMapper'
=====
tomcat啟動總是報錯:No qualifying bean of type 'org.codehaus.jackson.map.ObjectMapper'
【原因:maven依賴失敗,沒加版本號】
====值得 記錄原因:
jd的SDK和這些Jackson相關jar包 我都直接複製到了Idea編譯目錄。結果SDK的缺少類 提示沒了。Jackson缺少類 的錯誤又來了。
【本以為,編譯目錄都給你了。肯定可以的。結果找了半天,發現pom依賴沒寫版本號。jar包依賴有錯誤。但是 提示有點奇葩。不夠友好。】
===
====記一次:版本衝突或jar包重複,導致新增座標依賴失敗: 解決過程。
①
②
③解決的莫名其妙。可能是data-bind2.8.2依賴的兩個子包版本不對吧。猜測。
====補充:classNotFound錯誤的解決:一般就是少jar包。
複製到這裡:
【坑的是idea自動下載的jar包,有時不會自動編譯到編譯目錄。即使是重啟tomcat也不行!。有依賴沒編譯。醉了吧。。。】
相關推薦
idea新增maven依賴失敗案例之:tomcat啟動總是報錯:No qualifying bean of type 'org.codehaus.jackson.map.ObjectMapper'
=====tomcat啟動總是報錯:No qualifying bean of type 'org.codehaus.jackson.map.ObjectMapper'【原因:maven依賴失敗,沒加版本號】====值得 記錄原因:jd的SDK和這些Jackson相關jar包
SpringCloud:No qualifying bean of type 'org.springframework.cloud.client.discovery.DiscoveryClient'
問題描述 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'discoveryClientConfigServiceB
spring註入時報錯::No qualifying bean of type 'xxx.xxMapper'
and class can 解決 base ica fail pri exception 做一個小項目,因為有 baseService,所以偷懶就沒有寫單獨的每個xxService接口,直接寫的xxServiceImpl,結果在service實現類中註入Mapper的時
Tomcat啟動服務報錯:Unknown version string [3.1]. Default version will be used.
Tomcat、jdk、web.xml 對應關係: (版本往下相容) web.xml——version2.2——JDK1.1——Tomcat3.3 web.xml——version2.3——JDK1.3——Tomcat4.1 web.xml——version2.4——JDK1.4——T
【docker】docker啟動、重啟、關閉命令,附帶:docker啟動容器報錯:docker: Error response from daemon: driver failed programming external connectivity on endpoint es2-node
在關閉並放置centos 的防火牆重啟之後【操作:https://www.cnblogs.com/sxdcgaq8080/p/10032829.html】 啟動docker容器就發現開始報錯: [[email protected] elasticSearch]# docker run -d
新下載的工程,啟動tomcat出現識別檔案失敗的現象。No qualifying bean of type 'com.kanq.platform.cert.mapper.CertificateSjdr
首選檢查下資料庫配置: 問題資訊描述如下: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with nam
配置ssm專案報錯:No qualifying bean of type ... found for dependency ...expected at least 1 bean which
配置ssm專案時,提示提示在service層注入出錯,出錯資訊如下:大致的錯誤資訊為: cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException:
記錄錯誤:No qualifying bean of type [com.xxx.xxxxxxService] found for dependency:expected at least 1 bea
No qualifying bean of type [com.xxx.xxxxxxService] found for dependency: expected at least 1 bean which qualifies as autowire candidate fo
SpringBoot- springboot集成Redis出現報錯:No qualifying bean of type 'org.springframework.data.redis.connection.RedisConnectionFactory'
ani 集成 autowired rt.jar evaluate tab using getbean iat Springboot將accessToke寫入Redisk 緩存,springboot集成Redis出現報錯 No qualifying bean of type
eclipse導入新的maven項目時,pom.xml第一行報錯:
hive maven software otto 解決 log n) ani conf eclipse導入新的maven項目時,pom.xml第一行報錯: org.apache.maven.archiver.MavenArchiver.getManifest(org.apa
idea 啟動專案報錯:Exception in thread "main" io.sited.StandardException: Timed out after 30000 ms ....
Exception in thread "main" io.sited.StandardException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPr
啟動weblogic報錯:string value '2.4' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/javaee
-a xsd not app b- 1.0 ring encoding ont 啟動報錯: 原因:有人改動了web.xml的頭 解決方法: 在web.xml中修改擡頭為: <?xml version="1.0" encoding="UTF-8"?> <we
DELLR720服務器更換硬盤,啟動系統報錯:there are offline or missing virtual drivers with preserved cache
管理 virtual 保存 alt 問題解決 r720 clas card document linux系統啟動過程中給出錯誤: There are offline or missing virtual drives with preserved cache. Pleas
啟動mysql報錯:ERROR! The server quit without updating
mysql啟動mysql報錯:ERROR! The server quit without updating PID file (/data/mysql/localhost.localdomain.pid),查看mysql.log發現報錯信息:[ERROR] Fatal error: Can‘t open a
小內存linux啟動Kakfka報錯: commit_memory(0x00000000c0000000, 1073741824, 0) failed ..解決方案
bin server spa opts 內存配置 內存 默認 xms start 報錯原因: Kafka默認使用的JVM內存配置: export KAFKA_HEAP_OPTS="-Xmx1G -Xms1G" 如果服務
docker啟動容器報錯:IPv4 forwarding is disabled. Networking will not work
報錯 onf con lan isa war ces -s comm 報這個錯誤會導致宿主機以外的pc 訪問不了容器 按照網上的解決辦法: 在/usr/lib/sysctl.d/00-system.conf文件後加net.ipv4.ip_forward=1 即可docker
ubuntu 系統啟動出現報錯 : the system is running in low-graphics mode
今天突然停電,電腦斷電ubuntu16.04不正常關閉以後,重新啟動ubuntu 發現桌面系統崩潰了,進入到命令列介面 輸入init 5 試圖進入圖形介面 出現“the system is running in low-graphics mode”錯誤
Angular學習筆記27:使用viser-ng報錯:Cannot find module '@antv/data-set'解決辦法
在使用viser-ng的時候,在畫餅狀圖的時候,會遇到DataSet這個包,然後儲存編譯執行的時候會報錯如下: ERROR in src/app/testbing/testbing.component.ts(1,26): error TS2307: Cannot find module '@an
springboot啟動專案報錯:Failed to determine a suitable driver class
轉載自:https://blog.csdn.net/AinUser/article/details/81533858 第一種情況: 在application.properties/或者application.yml檔案中沒有新增資料庫配置資訊 spring: datasource:
Eureka啟動一直報錯:Network level connection to peer localhost; retrying after delay
Eureka單節點啟動後後臺一直報錯com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 拒絕連線 (Connection refused),如下圖: 解決: client配置中新增se