首页 新闻 会员 周边 捐助

未声明“http://www.springframework.net:property”元素

0
悬赏园豆:30 [已关闭问题]
我的程序经常报错

Line 33 in XML document from assembly [YTJ.Framework.Spring, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null], resource [YTJ.Framework.Spring.Service.config] violates the schema.  未声明“ http://www.springframework.net:property”元素。

这个配置点没什么错误的,都是正常的,而且我每次启动程序偶尔报错,报错的地方还不一样,报异常后我刷新一下页面又好了,很奇怪,我配置都没什么错误,就是要刷新一下。
不知道spring.net怎么回事
下面是我的配置文件
我的配置
<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net"
xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation
="http://www.springframework.net
http://www.springframework.net/xsd/spring-objects.xsd"
xmlns:tx="http://www.springframework.net/tx">

<description>服务对象注册表</description>

<object id="UsersServ" type="YTJ.Sports.Domain.Service.UsersServ,YTJ.Sports.Domain.Service">
<property name="ICommonDAO" ref="CommonDAO"/>
<property name="IUsersDAO" ref="UsersDAO"/>
<property name="IFootballerDAO" ref="FootballerDAO"/>
<property name="IUserInfoDAO" ref="UserInfoDAO"/>
<property name="ITeamManagerDAO" ref="TeamManagerDAO"/>
<property name="ICheerSquadDAO" ref="CheerSquadDAO"/>
</object>

<object id="UserInfoServ" type="YTJ.Sports.Domain.Service.UserInfoServ,YTJ.Sports.Domain.Service">
<property name="IUserInfoDAO" ref="UserInfoDAO"/>
</object>

<object id="FootballTeamFinanceServ" type="YTJ.Sports.Domain.Service.FootballTeamFinanceServ,YTJ.Sports.Domain.Service">
<property name="IFootballTeamFinanceDAO" ref="FootballTeamFinanceDAO"/>
<property name="ITeamManagerDAO" ref="TeamManagerDAO"/>
<property name="IFootballTeamDAO" ref="FootballTeamDAO"/>
</object>

<object id="FootballManageServ" type="YTJ.Sports.Domain.Service.FootballManageServ,YTJ.Sports.Domain.Service">
<property name="IFootballTeamDAO" ref="FootballTeamDAO"/>
<property name="IFootballTeamFinanceDAO" ref="FootballTeamFinanceDAO"/>
<property name="IPhotosCategoriesDAO" ref="PhotosCategoriesDAO"/>
<property name="ITeamCategoryMappingDAO" ref="TeamCategoryMappingDAO"/>
<property name="ITeamManagerDAO" ref="TeamManagerDAO"/>
<property name="ITeamDepositDAO" ref="TeamDepositDAO"/>
<property name="IBlogCategoryDAO" ref="BlogCategoryDAO"/>
<property name="ITeamBlogCategoryMappingDAO" ref="TeamBlogCategoryMappingDAO"/>
</object>

<object id="TopicServ" type="YTJ.Sports.Domain.Service.TopicServ,YTJ.Sports.Domain.Service">
<property name="ITopicDAO" ref="TopicDAO"/>
<property name="ITopicTeamMappingDAO" ref="TopicTeamMappingDAO"/>
</object>

<object id="ChallengeServ" type="YTJ.Sports.Domain.Service.ChallengeServ,YTJ.Sports.Domain.Service">
<property name="IChallengeDAO" ref="ChallengeDAO"/>
<property name="ITeamChallengeRequestDAO" ref="TeamChallengeRequestDAO"/>
</object>

<object id="PhotosServ" type="YTJ.Sports.Domain.Service.PhotosServ,YTJ.Sports.Domain.Service">
<property name="IPhotosDAO" ref="PhotosDAO"/>
<property name="IPhotosCategoriesDAO" ref="PhotosCategoriesDAO"/>
<property name="ITeamCategoryMappingDAO" ref="TeamCategoryMappingDAO"/>
</object>

<object id="TeamRequestServ" type="YTJ.Sports.Domain.Service.TeamRequestServ,YTJ.Sports.Domain.Service">
<property name="IFootballerFootballTeamMappingDAO" ref="FootballerFootballTeamMappingDAO"/>
<property name="IFootballerTeamRequestDAO" ref="FootballerTeamRequestDAO"/>
<property name="IFootballerDAO" ref="FootballerDAO"/>
<property name="IFootballTeamDAO" ref="FootballTeamDAO"/>
<property name="ICheerSquadTeamMappingDAO" ref="CheerSquadTeamMappingDAO"/>
<property name="ICheerSquadTeamRequestDAO" ref="CheerSquadTeamRequestDAO"/>
<property name="ICheerSquadDAO" ref="CheerSquadDAO"/>
</object>

<object id="FootballerServ" type="YTJ.Sports.Domain.Service.FootballerServ,YTJ.Sports.Domain.Service">
<property name="IFootballerDAO" ref="FootballerDAO"/>
<property name="IFootballerFootballTeamMappingDAO" ref="FootballerFootballTeamMappingDAO"/>
</object>

<object id="FriendShipServ" type="YTJ.Sports.Domain.Service.FriendShipServ,YTJ.Sports.Domain.Service">
<property name="IFriendShipDAO" ref="FriendShipDAO"/>
</object>

<object id="DepositDetailsServ" type="YTJ.Sports.Domain.Service.DepositDetailsServ,YTJ.Sports.Domain.Service">
<property name="IDepositDetailsDAO" ref="DepositDetailsDAO"/>
</object>

<object id="TeamDepositServ" type="YTJ.Sports.Domain.Service.TeamDepositServ,YTJ.Sports.Domain.Service">
<property name="ITeamDepositDAO" ref="TeamDepositDAO"/>
</object>

<object id="CheerSquadsServ" type="YTJ.Sports.Domain.Service.CheerSquadsServ,YTJ.Sports.Domain.Service">
<property name="ICheerSquadDAO" ref="CheerSquadDAO"/>
<property name="ICheerSquadTeamMappingDAO" ref="CheerSquadTeamMappingDAO"/>
</object>



<object id="BulletinServ" type ="YTJ.Sports.Domain.Service.BulletinServ,YTJ.Sports.Domain.Service">
<property name="IBulletinDAO" ref="BulletinDAO"/>
</object>

<object id="AllyServ" type ="YTJ.Sports.Domain.Service.AllyServ,YTJ.Sports.Domain.Service">
<property name="IAllyDAO" ref="AllyDAO"/>
</object>

<object id="BlogsServ" type="YTJ.Sports.Domain.Service.BlogsServ,YTJ.Sports.Domain.Service">
<property name="IBlogsDAO" ref="BlogsDAO"/>
<property name="IBlogCategoryDAO" ref="BlogCategoryDAO"/>
<property name="ITeamBlogCategoryMappingDAO" ref="TeamBlogCategoryMappingDAO"/>
<property name="ICommonDAO" ref="CommonDAO"/>
</object>

<object id="VideoServ" type="YTJ.Sports.Domain.Service.VideoServ,YTJ.Sports.Domain.Service">
<property name="IVideoDAO" ref="VideoDAO"/>
<property name="ITeamVideoMappingDAO" ref="TeamVideoMappingDAO"/>
</object>

<object id="MenuServ" type="YTJ.Sports.Domain.Service.MenuServ,YTJ.Sports.Domain.Service">
<property name="IMenuDAO" ref="MenuDAO"/>
</object>
</objects>

 

Jeremy Ding的主页 Jeremy Ding | 初学一级 | 园豆:0
提问于:2010-04-26 14:24
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册