草庐IT

configure

全部标签

xml - log4j:WARN 文档根元素 "log4j:configuration",必须匹配 DOCTYPE 根 "null"

我想将我的log4j.xml与log4j.xsd(xml架构)连接起来。项目没有任何警告或错误。但是当我启动它时,我有这样的控制台警告:log4j:WARN可继续解析错误6和第66列。log4j:WARN文档根元素“log4j:configuration”,必须匹配DOCTYPE根“null”。log4j:WARN可继续解析错误6和第66列。log4j:WARN文档无效:找不到语法。我认为,模式位置有问题。但是不知道,怎么写才正常。希望得到您的指点。我的log4j.xml:还有我的log4j.xsd:附言对不起我的英语... 最佳答案

xml - VS 2015 RTM web.config 全局元素 'configuration' 已经声明

在3台全新安装VS2015RTM的PC上遇到此问题。在VS2013中打开文件时没有问题。Fix:TheGlobalelement'configuration'hasalreadybeendeclared中描述的步骤和其他相关问题无济于事,因为VS会忽略XML模式对话框中的任何更改。想法? 最佳答案 不幸的是,有许多情况会导致此问题。最有可能的问题是文档的架构设置不正确。当您在计算机上安装较新版本的.NET和/或VisualStudio时,可能会发生这种情况。不过修复很简单。来自VisualStudiodocumentation:Op

xml - WCF 错误 "This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case"

我在使用从Windows服务到我的Web服务器上运行的WCF服务的WCF调用时遇到问题。这个电话已经工作了几个星期,但突然停止工作,此后一直没有工作。我遇到的异常是:GeneralErrorOccurredSystem.ServiceModel.CommunicationException:AnerroroccurredwhilemakingtheHTTPrequest然后它说ThiscouldbeduetothefactthattheservercertificateisnotconfiguredproperlywithHTTP.SYSintheHTTPScase.Thiscould

c - 当我的 C 文件有其他依赖项时,如何准备 ./configure make make install?

编写/阅读代码似乎比准备部署脚本(例如./configure)和为我的C应用程序制作和安装要轻松得多。我如何制作./configure文件并为以下C代码制作文件?感谢您的宝贵支持。@file:main.c:#include#include#ifndef_WIN32#ifdefH323_H46018#include"h460/h460_std18.h"H460_FEATURE(Std18);H460_FEATURE(Std19);#endif#ifdefH323_H46023#include"h460/h460_std23.h"#endif#endif//_WIN32#definenew

c# - System.Configuration.ConfigurationSettings.AppSettings 在生产中不可访问

我有一个Windows桌面应用程序,Web应用程序正从该应用程序启动。privatevoidHome_Load(objectsender,EventArgse){stringurl=string.Format("http://localhost:49916/Express/Login.aspx?yek@soh={0}",System.Configuration.ConfigurationSettings.AppSettings["HK"].ToString());Process.Start("IExplore.exe",url);this.Close();}它在我的机器上运行良好。然后

windows - Powershell 警告和错误处理

我正在编写以下代码来替换下面的批处理脚本。$Script:srcpath=((Get-Location).Path)$Script:configure="$Script:srcpath\qtbase\configure.bat"if(Get-Item"$Script:srcpath\qtbase\configure.bat"-WarningAction(Write-Warning"$Script:configurenotfound.Didyouforgettorun'init-repository'?")){continue}我正在尝试重写qt配置批处理脚本:set"srcpath=%

windows - configure, make, git on windows = how to compile install on windows

我想工作ffmpeg-ruby在Windows上。如果可能的话。但是我不知道怎么办配置制作./configure--prefix=/opt/ffmpeg--enable-pthreads--enable-shared--enable-gpl制作sudomakeinstallWindows上的git?gitclonegit://github.com/gwik/ffmpeg-ruby.gitcdffmpeg-rubygem构建./ffmpeg-ruby.gemspecsudogeminstall./ffmpeg-ruby-0.1.0.gem----with-ffmpeg-dir=/opt/

c++ - 错误 : "Application has failed to start because its side-by-side configuration is incorrect"

我创建了一个MFC使用VisualStudio2008的应用程序,它在WindowsXP上运行良好。但是当我尝试在Windows Vista中执行相同的EXE文件时我得到:Error:Applicationhasfailedtostartbecauseitsside-by-sideconfigurationisincorrect当我检查事件查看器时,下面是它所说的:LogName:ApplicationSource:SideBySideDate:12/10/201010:06:08AMEventID:33TaskCategory:NoneLevel:ErrorKeywords:Clas

c - Windows 上的 PETSc 安装

我正在尝试在Windows7上安装PETSc库以与VisualStudioExpress2008一起使用,但到目前为止我没有成功。我用python、make、diff安装了cygwin(默认安装)。然后我点击了VS2008Exp->Tools->VSCommandPrompt我去了Petsc目录cygdrive/d/Workspace/PETSc/petsc-2.3.3-p13从那里我试过了anofficialsuggestion首先安装“MicrosoftHPCPack2008R2”和“MicrosoftHPCPack2008R2SDK”但是我有一个错误“无法使用给定的选项进行配置”

php - Windows cygwin gearman ./configure 显示 "configure: error: Unable to find libevent"错误

我正在尝试安装gearmanhttp://www.phpvs.net/2010/11/30/installing-gearman-and-gearmand-on-windows-with-cygwin/我下载了“libevent-2.0.21-stable.tar.gz”解压到cygwin的home/libs目录(我自己建了一个libs目录)里面还有“gearmand-1.1.5”。然后,在我执行的libevent目录中:./configuremakemakeinstall安装libevent后,我​​切换到gearman目录并执行:./configure这导致“配置:错误:无法找到l