Spring cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration
今天重灌了一下MyEclipse7.5,開啟原來的Flex專案,又報了以下兩個錯誤,之前解決過,但不想又出現,於是把它的解決方法貼出來,做個備忘!
錯誤資訊為
錯誤資訊 寫道
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:message-broker'.
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:remoting-destination'.
問題根源在於Eclipse無法識別上面的兩個標籤,解決之道為:
解決之道 寫道
1、將org.springframework.flex-1.0.1.RELEASE.jar拷貝到專案的lib目錄下;
2、選擇elcipse的window-->preferences,彈出相應對話方塊;
3、在對話方塊的的type filter text位置資料 xml c,您將看到XML Catalog,點選進入;
4、選擇User Specified Entries,單擊新增,然後, 在彈出的對話方塊相應位置填入
Location: abm/WebRoot/WEB-INF/lib/org.springframework.flex-1.0.1.RELEASE.jar!/org/springframework/flex/config/xml/spring-flex-1.0.xsd
Key Type: Schema Location
Key: http://www.springframework.org/schema/flex
5、重複4操作,相應位置填入
Location: abm/WebRoot/WEB-INF/lib/org.springframework.flex-1.0.1.RELEASE.jar!/org/springframework/flex/config/xml/spring-flex-1.0.xsd
Key Type: Schema Location
Key: http://www.springframework.org/schema/flex/spring-flex-1.0.xsd
至此,便可解決。
注:abm是我的工程名,您需要做相應的改動!
相關文章
- spring - cvc-complex-type.2.4.c: The matching wildcard is strict,Spring
- cvc-complex-type.2.4.c: The matching wildcard is strict
- Leetcode-Wildcard MatchingLeetCode
- Wildcard Matching leetcode javaLeetCodeJava
- 【LeetCode】Wildcard Matching 串匹配 動態規劃LeetCode動態規劃
- javascript strict modeJavaScript
- cvc-complex-type.2.4.c
- MySQL Strict SQL MODEMySql
- Be Tolerant of Yourself But Strict with Others?
- spring cvc-elt.1: Cannot find the declaration of element 'beans'解決辦法SpringBean
- 嚴格模式use strict模式
- javascript中的Strict模式JavaScript模式
- golang expected declaration, found 'IDENT'GolangIDE
- C++ 前置定義 Forward declarationC++Forward
- 7.2 FM Index MatchingIndex
- F - Perfect Matching on a Tree
- IntelliJ IDEA Cannot find declaration to go toIntelliJIdeaGo
- vue3 Could not find a declaration file for moduleVue
- Spring 異常關鍵字 no matching editors or conversion strategy found 解決方法Spring
- no declaration can be found for element rabbit:connection-factory
- VueX Vue: Could not find a declaration file for module vuex.Vue
- PHP 方法重寫,引數不同,報錯: DeclarationPHP
- implicit declaration of item ‘write’; did him mean ‘fwrite’?
- ACM Binary String MatchingACM
- Scala的Pattern Matching Anonymous FunctionsFunction
- 關於Javascript中的”use strict”的那些事JavaScript
- Struts官方示例學習-Wildcard_method示例
- 重讀 Swift 之二:Operator Declaration(運算子過載)Swift
- Leetcode 10 Regular Expression MatchingLeetCodeExpress
- Regular Expression Matching leetcode javaExpressLeetCodeJava
- Pattern Matching Metacharacters For asm_diskstringASM
- Xcode10:Implicit declaration of function '' is invalid in C99XCodeFunction
- select into 時有無strict關鍵字的區別
- js程式碼中的"use strict"的作用是什麼JS
- multi-key索引和wildCard索引場景比較索引
- MySQL編譯選項-fno-strict-aliasing隨手記MySql編譯
- 關於nginx HTTP Strict Transport Security (HSTS) Policy Not Enabled 的處理NginxHTTP
- rust-quiz:007-surprise-wildcard-match.rsRustUI