ehcache与Spring。找不到Google Code XSD文件

an

我在Spring中使用ehcache。最近注意到以下错误。此外,http ://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring/ehcache-spring-1.1.xsd上现在也缺少XSD文件

请让我知道是否存在一种在本地加载XSD的解决方法。

org.xml.sax.SAXParseException; lineNumber: 164; columnNumber: 59; schema_reference.4: Failed to read schema document 'http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring/ehcache-spring-1.1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
  at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
  at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source)
  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(Unknown Source)
  at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument1(Unknown Source)
  at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
  at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
  at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
  at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source)
  at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
  at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
  at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
  at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
  at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
  at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
  at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
  at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
  at java.util.concurrent.FutureTask.run(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)

造成原因:java.io.FileNotFoundException:位于sun.net.www.protocol.http.HttpURLConnection上的http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring/ehcache-spring-1.1.xsd org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)处的org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)处的org.apache.xerces.impl.xs.opti org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(未知源)处的org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(未知源)处的.SchemaParsingConfig.parse(未知源).. 。38更多

克里斯·史密斯

问题在于,您所请求的URL是直接从Google Code源存储库中提供的。Google于去年3月宣布将关闭Google Code,而本周早些时候,Google实际上已开始关闭其源代码托管服务。

您需要为该文件找到一个新的主机。例如DropBox,GoogleDrive等。如果您需要旧版本的副本,请在以下位置查看存档版本:

https://code.google.com/archive/p/ehcache-spring-annotations/source/default/source

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

SOAP UI在Spring WS Soap Service中找不到依赖WSDL的XSD文件

来自分类Dev

找不到code.google.com/p/go.crypto/pbkdf2文件?

来自分类Dev

C#NLog; 找不到NLog.xsd文件

来自分类Dev

找不到 Spring webflow 架构 xsd

来自分类Dev

Spring MVC中的FileInputStream找不到文件

来自分类Dev

找不到静态文件Spring MVC + Thymeleaf

来自分类Dev

找不到静态文件Spring MVC + Thymeleaf

来自分类Dev

Spring boot 项目找不到静态文件

来自分类Dev

找不到文件错误Google Drive API

来自分类Dev

找不到Google Analytics(分析)文件

来自分类Dev

Google Colab Notebook错误-找不到文件

来自分类Dev

找不到文件Google Analytics API

来自分类Dev

验证文件spring-ldap.xsd时出错

来自分类Dev

Maven + Spring项目无法加载依赖的XSD文件

来自分类Dev

连接到Oracle服务器时找不到文件'C:\ SomePath \ Oracle.DataAccess.Common.Configuration.Section.xsd'

来自分类Dev

连接到Oracle服务器时找不到文件'C:\ SomePath \ Oracle.DataAccess.Common.Configuration.Section.xsd'

来自分类Dev

VS CODE错误S5057在指定目录“。”下找不到tsconfig.json文件。

来自分类Dev

Spring Integration WS || 如何为Spring Integration Ws Service创建xsd文件和wsdl文件

来自分类Dev

在Spring中找不到图像-找不到资源文件夹

来自分类Dev

XmlDocument XSD验证找不到错误

来自分类Dev

找不到元素'xsd:schema'的声明

来自分类Dev

XSD验证“找不到元素的声明”

来自分类Dev

找不到元素'xsd:schema'的声明

来自分类Dev

Spring Batch CommandLineJobRunner找不到.xml配置文件

来自分类Dev

Spring中的类路径问题:找不到文件异常

来自分类Dev

Spring MVC:找不到其他HTML文件

来自分类Dev

启用 ssl 和 Elastic Beanstalk 的 Spring Boot - 找不到文件

来自分类Dev

Google Cloud Cpp找不到内部.h文件

来自分类Dev

在Google云端硬盘中找不到上传的文件

Related 相关文章

  1. 1

    SOAP UI在Spring WS Soap Service中找不到依赖WSDL的XSD文件

  2. 2

    找不到code.google.com/p/go.crypto/pbkdf2文件?

  3. 3

    C#NLog; 找不到NLog.xsd文件

  4. 4

    找不到 Spring webflow 架构 xsd

  5. 5

    Spring MVC中的FileInputStream找不到文件

  6. 6

    找不到静态文件Spring MVC + Thymeleaf

  7. 7

    找不到静态文件Spring MVC + Thymeleaf

  8. 8

    Spring boot 项目找不到静态文件

  9. 9

    找不到文件错误Google Drive API

  10. 10

    找不到Google Analytics(分析)文件

  11. 11

    Google Colab Notebook错误-找不到文件

  12. 12

    找不到文件Google Analytics API

  13. 13

    验证文件spring-ldap.xsd时出错

  14. 14

    Maven + Spring项目无法加载依赖的XSD文件

  15. 15

    连接到Oracle服务器时找不到文件'C:\ SomePath \ Oracle.DataAccess.Common.Configuration.Section.xsd'

  16. 16

    连接到Oracle服务器时找不到文件'C:\ SomePath \ Oracle.DataAccess.Common.Configuration.Section.xsd'

  17. 17

    VS CODE错误S5057在指定目录“。”下找不到tsconfig.json文件。

  18. 18

    Spring Integration WS || 如何为Spring Integration Ws Service创建xsd文件和wsdl文件

  19. 19

    在Spring中找不到图像-找不到资源文件夹

  20. 20

    XmlDocument XSD验证找不到错误

  21. 21

    找不到元素'xsd:schema'的声明

  22. 22

    XSD验证“找不到元素的声明”

  23. 23

    找不到元素'xsd:schema'的声明

  24. 24

    Spring Batch CommandLineJobRunner找不到.xml配置文件

  25. 25

    Spring中的类路径问题:找不到文件异常

  26. 26

    Spring MVC:找不到其他HTML文件

  27. 27

    启用 ssl 和 Elastic Beanstalk 的 Spring Boot - 找不到文件

  28. 28

    Google Cloud Cpp找不到内部.h文件

  29. 29

    在Google云端硬盘中找不到上传的文件

热门标签

归档