草庐IT

errors_impl

全部标签

android - 二进制 XML 文件行 #2 : Error inflating class fragment

我正在尝试在项目中添加map,但我不能,因为当我使用该fragment调试应用程序时出现了一些错误。这是我的XML文件:这是我的.java文件:importandroid.os.Bundle;importandroid.app.Activity;publicclassMainActivityextendsActivity{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);}}而

Android appcompatv7 : error in resources

今天当我今天打开我的eclipse时,当我创建一个新的android项目时。appcompatv7会根据新的SDK自动导入。但是appcompatv7显示了一些错误。当我扩展appcompatv7时,res-->values-large-->theme_base.xml和res-->values-large-v14-->theme_base.xml中出现错误。这些xml文件中的错误显示“找不到与以下名称匹配的资源”。请帮忙,因此我的新项目也显示错误。 最佳答案 不管怎样,我遇到了类似的编译问题,并发现Google的AppCompat

java - 严重 : Error configuring application listener of class org. apache.struts2.tiles.Struts Tiles Listener java.lang.NoClassDefFoundError

我正在尝试学习在struts2中使用session。所以,我只想实现一个登录/注销、配置文件应用程序。我正在关注互联网上提供的基本教程。但是,它根本不起作用。请帮助我解决以下问题如何解决。Sep19,20155:44:12PMorg.apache.catalina.core.StandardContextlistenerStartSEVERE:Errorconfiguringapplicationlistenerofclassorg.apache.struts2.tiles.StrutsTilesListenerjava.lang.NoClassDefFoundError:org/ap

c++ - Xerces C++ : no error for non-existent file

我正在使用XercesC++DOM解析器读取VisualC++项目中的一些XML文件。我有一个带有parse()方法的类,该方法应该读取和验证我的XML源文件。这是该方法的样子:#include#include#include#includeusingnamespacestd;XERCES_CPP_NAMESPACE_USEunsignedlongRulesParser::parse(constwstring&xmlFile){if(parserInitialized_==false){try{XMLPlatformUtils::Initialize();/*initializexer

c# - xml写入错误 : "error on line 3 at column 1: Extra content at the end of the document"

这里是我用来响应xml数据的c#代码usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Xml;publicpartialclassxmlData:System.Web.UI.Page{protectedvoidPage_Load(objectsender,EventArgse){Response.ContentType="text/xml";Stringxml=

xml - xsltproc (osx) "not a stylesheet, compilation error"。但是 xml 和 xsl 都可以在在线工具上使用

设法让我的xsl在http://www.xmlper.com/工作(来自其他stackoverflow评论的好工具很好的推荐)。但是当我在我的macosx命令行上运行相同的(现在高度精简)xml和xsl时,我得到“编译错误,文档不是样式表”是否是版本问题(下面xsltproc的输出)?我正在运行最新的mac(10.7)和最新的xcode4.2(以确保xml库等)?我找不到任何关于xsltproc不支持xsltv2.0的信息(我试过设置为v1.0-没有区别)我确实尝试下载其他xslt处理器(例如saxon),但进入旧的java版本并且无法运行程序。希望有人遇到并解决了这个问题!谢谢本输入

java - 严重 : Context [/example] startup failed due to previous errors

我是JavaEE+Spring+Hibernate+Maven组合的新手。尝试用tomcat6.0做一个简单的项目。我们的项目很好,调试没问题。但是当我尝试运行服务器时,它总是给我“ErrorlistenerStart”。我在网上搜索了3天,但没有解决这个错误。谁能帮我解决这种情况?感谢您的帮助。-我的控制台输出-13.Eki.201308:32:14org.apache.catalina.core.AprLifecycleListenerinitINFO:TheAPRbasedApacheTomcatNativelibrarywhichallowsoptimalperformance

java - Netbeans build-impl.xml 搞砸了

由于合并冲突,我的build-impl.xml文件被弄乱了。我修复了冲突,但是当我尝试antrun时,它抛出Target"-do-jar-delete-manifest"doesnotexistintheproject"PROJ"。它从目标“-do-jar-without-libraries”中使用。这是一个JavaFX项目,我们使用的是Java8。我想通过创建一个新的build-impl.xml文件来解决这个问题。我怎样才能在Netbeans中做到这一点?谢谢! 最佳答案 我删除了build-impl.xml然后重新启动了Netb

java - 为什么 fn :matches and fn:replace throwing parse errors in XSLT 2. 是 0?

我试图在我的XSLT样式表中使用这两个字符串函数(matches和replace)。但是在运行时,我得到以下错误matches和类似的replace错误:Causedby:org.xml.sax.SAXException:ParseErrorinmatchesfunction.oracle.xdo11g.xpath.XPathException:ParseErrorinmatchesfunction.atoracle.xdo11g.xslt.XSLProcessor.reportException(XSLProcessor.java:965)atoracle.xdo11g.xslt.X

java - 带有 jdk 11 : Error creating bean with name 'entityManagerFactory' 的 Spring Boot 2.1.1

我们正在将我们的应用程序迁移到带有JDK11的springboot2.1.1(从带有jdk8的springboot1.x)。当我尝试从eclipse运行springboot应用程序时,显示以下错误。感谢解决此问题的任何投入。谢谢。org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'entityManagerFactory'definedincom.XX.XX.XX.main.Application:Invocationofinitmethodfailed;nestedexce