当我在Windows程序中将此代码添加到app.config中时:
<quartz>
<add key="quartz.scheduler.instanceName" value="ExampleDefaultQuartzScheduler"/>
<add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz"/>
<add key="quartz.threadPool.threadCount" value="10"/>
<add key="quartz.threadPool.threadPriority" value="2"/>
<add key="quartz.jobStore.misfireThreshold" value="60000"/>
<add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore, Quartz"/>
</quartz>资讯科技提示:
Could not find schema information for the element `key`.
Could not find schema information for the attribute `quartz`.
Could not find schema information for the element `value`. 我确信我在后台使用了job_scheduling_data_2_0.xsd文件。
并预定义石英:
<configSections>
<section name="quartz" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>问题在哪里?在哪里可以找到模式信息?
标签<quartz>名称空间是什么时候?
在哪里可以找到quartz.net的xsd文件?
发布于 2013-12-16 07:47:51
通常的原因是配置文件缺少模式文件,比如*.xsd in:..\Microsoft Visual \Xml\Schemas文件夹。
您可以省略这些提示,它不会影响您的程序运行。
或者您可以自己编写xsd模式文件。
https://stackoverflow.com/questions/20544065
复制相似问题