mysileng
posts - 200, comments - 8, trackbacks - 0, articles - 0
導(dǎo)航
C++博客
首頁
新隨筆
聯(lián)系
聚合
管理
<
2013年4月
>
日
一
二
三
四
五
六
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
常用鏈接
我的隨筆
我的評論
我參與的隨筆
留言簿
給我留言
查看公開留言
查看私人留言
隨筆分類
C(4)
c++(9)
Hadoop(12)
HBASE(2)
hibernate(1)
Java(4)
JULY_程序員編程藝術(shù)(17)
LIBEVENT(13)
linux編程(28)
linux多線程專題(8)
linux基礎(chǔ)(15)
linux進(jìn)程通信專題(9)
linux內(nèi)核(13)
Myeclipse(3)
redis(6)
STL(5)
本人分析研究(3)
分布式(3)
海量數(shù)據(jù)處理(10)
前臺(1)
設(shè)計(jì)模式(2)
數(shù)據(jù)結(jié)構(gòu)與算法(14)
數(shù)據(jù)挖掘(1)
學(xué)習(xí)方法與路線(2)
楊強(qiáng)linux視頻筆記系列(13)
隨筆檔案
2015年1月 (1)
2014年9月 (5)
2014年8月 (2)
2014年7月 (1)
2014年4月 (2)
2013年10月 (1)
2013年9月 (1)
2013年6月 (10)
2013年5月 (15)
2013年4月 (13)
2013年3月 (5)
2013年2月 (12)
2013年1月 (23)
2012年12月 (49)
2012年11月 (28)
2012年10月 (10)
2012年9月 (8)
2012年8月 (4)
2012年7月 (2)
2012年1月 (2)
2011年12月 (1)
2011年11月 (1)
2011年9月 (1)
2011年5月 (2)
2011年3月 (1)
搜索
最新評論
1.?re: select函數(shù)與stdio混用的不良后果 (原)
贊!
--2b程序員
2.?re: 最長上升子序列 O(nlogn)解法 (轉(zhuǎn))
寫的不錯 謝謝
--無憂
3.?re: 進(jìn)程并發(fā)服務(wù)器中,sigchld信號引發(fā)的血案?(原)
評論內(nèi)容較長,點(diǎn)擊標(biāo)題查看
--anonymous
4.?re: 翻譯:libevent參考手冊第六章:bufferevent:概念和入門 (八) (轉(zhuǎn))[未登錄]
不錯,學(xué)習(xí)了
--zz
5.?re: 最小堆&&最大堆的實(shí)現(xiàn)(c++)(轉(zhuǎn))[未登錄]
錯誤也太多了吧。
--ccc
閱讀排行榜
1.?最長上升子序列 O(nlogn)解法 (轉(zhuǎn))(14927)
2.?libevent: evbuffer緩沖 (轉(zhuǎn))(14061)
3.?Skip List(跳躍表)原理詳解與實(shí)現(xiàn)(13452)
4.?翻譯:libevent參考手冊第六章:bufferevent:概念和入門 (八) (轉(zhuǎn))(10005)
5.?__builtin_expect 解惑(7716)
評論排行榜
1.?慢系統(tǒng)調(diào)用與信號中斷(轉(zhuǎn))(2)
2.?select函數(shù)與stdio混用的不良后果 (原)(1)
3.?翻譯:libevent參考手冊第六章:bufferevent:概念和入門 (八) (轉(zhuǎn))(1)
4.?HADOOP_CLASSPATH設(shè)置(轉(zhuǎn))(1)
5.?最小堆&&最大堆的實(shí)現(xiàn)(c++)(轉(zhuǎn))(1)
Cannot find the declaration of element 'beans'異常的解決辦法
Posted on 2012-07-16 19:21
鑫龍
閱讀(2124)
評論(0)
編輯
收藏
引用
所屬分類:
Myeclipse
在網(wǎng)上搜了一下,發(fā)現(xiàn)有很多人提供了解決的辦法,但我一一試過,最終都不行。
解決方案列表如下:
1、[分享]Spring啟動異常: cvc-elt.1: Cannot find the declaration of element 'beans'
2、spring從sun jdk到IBMjdk
這兩篇文章中都提供了各自的解決方法,但為何在我的應(yīng)用中就是不行了?
其實(shí)不是不行,而是需要根據(jù)Spring的版本不同,進(jìn)行不同的處理,剛好我用的是Spring2.5,所以解決起來需要另一種方法,即配置文件XML的頭部的聲明應(yīng)該為:
<?
xml version="1.0" encoding="UTF-8"
?>
<!--
- Application context definition for JPetStore's business layer.
- Contains bean references to the transaction manager and to the DAOs in
- dataAccessContext-local/jta.xml (see web.xml's "contextConfigLocation").
-->
<
beans
xmlns
="http://www.springframework.org/schema/beans"
xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop
="http://www.springframework.org/schema/aop"
xmlns:tx
="http://www.springframework.org/schema/tx"
xsi:schemaLocation
="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd"
>
這段聲明,是來自Spring2.5包中自帶的Sample目錄中的一些例子的代碼中,當(dāng)我把我的XML的頭部改成這樣以后,果然可以順利啟動。
只有注冊用戶
登錄
后才能發(fā)表評論。
【推薦】100%開源!大型工業(yè)跨平臺軟件C++源碼提供,建模,組態(tài)!
相關(guān)文章:
MyEclipseGen
Cannot find the declaration of element 'beans'異常的解決辦法
Eclipse 報 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”錯誤
網(wǎng)站導(dǎo)航:
博客園
IT新聞
BlogJava
博問
Chat2DB
管理
Powered by:
C++博客
Copyright © 鑫龍
久久强奷乱码老熟女
|
久久99国产综合精品女同
|
国产成人精品久久
|
久久精品国产99国产精品导航
|
国内精品伊人久久久久影院对白
|
国产高潮国产高潮久久久91
|
99久久国产亚洲综合精品
|
久久无码国产专区精品
|
亚洲人成无码久久电影网站
|
亚洲中文精品久久久久久不卡
|
久久精品无码一区二区WWW
|
无码国内精品久久综合88
|
伊人久久大香线焦AV综合影院
|
亚洲精品美女久久久久99
|
51久久夜色精品国产
|
国产成人无码久久久精品一
|
久久国产精品免费
|
久久99精品久久久久子伦
|
国产精品99久久久久久www
|
无码人妻久久一区二区三区免费
|
国产午夜免费高清久久影院
|
久久综合狠狠色综合伊人
|
久久久久久夜精品精品免费啦
|
久久精品免费大片国产大片
|
99国产欧美久久久精品蜜芽
|
欧美一区二区三区久久综
|
国产69精品久久久久9999APGF
|
国产精品一久久香蕉国产线看
|
中文字幕乱码久久午夜
|
久久综合九色综合精品
|
久久国产乱子伦免费精品
|
久久久久久久久久久
|
人妻无码精品久久亚瑟影视
|
久久99精品久久久久久9蜜桃
|
久久亚洲AV成人无码电影
|
国产精品VIDEOSSEX久久发布
|
久久亚洲高清观看
|
久久久久人妻一区精品色
|
久久久女人与动物群交毛片
|
国产精品久久久久a影院
|
欧美与黑人午夜性猛交久久久
|