首页 > 代码库 > Failed obtaining configuration for Common.Logging from configuration section 'common/logging'

Failed obtaining configuration for Common.Logging from configuration section 'common/logging'

spring.net 配置时 总回出现“

Failed obtaining configuration for Common.Logging from configuration section ‘common/logging‘

错误。

解决方案:在app.config中包含了

    <startup> 

        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />

    </startup>

配置,将其删除即可。

Failed obtaining configuration for Common.Logging from configuration section 'common/logging'