`
企鹅木白
  • 浏览: 32967 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

配置String时,Cannot find the declaration of element 'beans'. 的解决方法

阅读更多
    刚开始入门spring2.5,然后就出现了这个问题Cannot find the declaration of element 'beans',调试了很久没出来,然后网上查了一下,这么做的,检查spring.jar包,解压,找到路径org/springframework/beans/factory/xml下,找到所有的xsd文件,然后把http://www.springframework.org/schema/beans中的东西全改成classpath://目录下的,如:classpath:/org/springframework/beans/factory/xml/spring-util-2.5.xsd"
这样就解决了没找到配置文件的问题,把从网上找的路径变成直接从本地路径找配置文件。
分享到:
评论

相关推荐

    dubbo找不到dubbo.xsd报错

    - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'. - schema_reference.4: Failed to read schema document '...

    西门子_CE DECLARATION of CONFORMITY.pdf

    西门子_CE DECLARATION of CONFORMITYpdf,

    C++标准库(第二版)英文版.pdf

    The C++ Standard Library A Tutorial and Reference (2nd Edition)+cppstdlib-code.zip C++标准库(第二版)英文版.pdf 非扫描版+源代码 Prefaceto the SecondEdition xxiii Acknowledgments for the Second...

    [Go语言入门(含源码)] The Way to Go (with source code)

    The Way to Go,: A Thorough Introduction to the Go Programming Language 英文书籍,已Cross the wall,从Google获得书中源代码,分享一下。喜欢请购买正版。 目录如下: Contents Preface......................

    apt-mirror-api-0.1.jar

    Files contained in apt-mirror-api-0.1.jar: ...com.sun.mirror.declaration.ClassDeclaration.class com.sun.mirror.declaration.ConstructorDeclaration.class com.sun.mirror.declaration.Declaration.class ...

    The way to go

    1.2.3 Targets of the language....................................................................................5 1.2.4 Guiding design principles........................................................

    spring-framework-reference4.1.4

    4.1. Introduction to the Spring IoC container and beans .............................................. 22 4.2. Container overview .........................................................................

    JSP Simple Examples

    Mathematically, the sine of an angle is the ratio of the length of the opposite side to the length of the hypotenuse of an imaginary right triangle having that angle in it. Applet In Jsp Applets are...

    spring-framework-reference-4.1.2

    4.1. Introduction to the Spring IoC container and beans .............................................. 22 4.2. Container overview .........................................................................

    org.apache.commons.codec包

    解决经常遇到的The import org.apache.commons.codec cannot be resolved问题,只需导入文件中的commons-codec-1.11.jar就可以,如和导入包就不赘述了。

    修复RzBorder.pas Number of elements differs from declaration

    RzBorder.pas Number of elements differs from declaration TRzLEDCharacters 在装完Raize控件之后编译老是出如下错误: [Pascal Error] RzBorder.pas(1429): E2072 Number of elements (125) differs from ...

    Android代码-android-async-http

    An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries. Changelog See what is new in version 1.4.9 released on 19th September 2015 ...Javadoc ...

    Declaration of academic integrity form

    requirement analysis •conceptual database design •choice of the DBMS •data model mapping •physical design •implementation

    C++ 标准 ISO 14882-2011

    List of Tables xi List of Figures xv 1 General 1 1.1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Normative references . . . . . . . . . ...

    Google C++ International Standard.pdf

    List of Tables x List of Figures xiv 1 Scope 1 2 Normative references 2 3 Terms and definitions 3 4 General principles 7 4.1 Implementation compliance . . . . . . . . . . . . . . . . . . . . . . . . ....

    ESWA的Declaration of Interest statement(利益声明)word版

    爱思唯尔的利益声明模板 论文已正式出版~ 相关博客:https://blog.csdn.net/qq_39763246/article/details/126797385

    西门子_EG-Konformit�鋞serkl�鋜ung EC Declaration of Conformity.pdf

    西门子_EG-Konformit�鋞serkl�鋜ung EC Declaration of Conformitypdf,

    spring配置文件解析失败报”cvc-elt.1: 找不到元素 ''beans'' 的声明”异常解决

    主要给大家介绍了关于spring配置文件解析失败报”cvc-elt.1: 找不到元素 'beans' 的声明”异常的解决方法,需要的朋友可以参考下

    C Programming

    The Advantages of C ......................................................................................11 The Disadvantages of C........................................................................

    myTV.winforms.rar

    This file contains a summary of what you will find in each of the files that make up your UnmanagedDVB application. UnmanagedDVB.vcproj This is the main project file for VC++ projects generated ...

Global site tag (gtag.js) - Google Analytics