demoapplication测试 save 功能失败

Blade 未结 1 165
facelike
facelike 2024-06-25 11:06

一、该问题的重现步骤是什么?

  1. 按照开发手册进行第一次 crud 测试  新增 demo 模块,新增 mapper 、service 文件后重新 启动 demoapplication 报错如下:

  2. 2024-06-25 10:34:09.697 ERROR 22073 --- [client.Worker.0] c.a.n.c.a.i.process.HttpLoginProcessor   : login failed: {"code":500,"message":"{\"timestamp\":\"2024-06-25T10:34:09.696+08:00\",\"status\":500,\"error\":\"Internal Server Error\",\"message\":\"The request was rejected because the URL contained a potentially malicious String \\\"//\\\"\",\"path\":\"//nacos/v1/auth/users/login\"}","header":{"header":{"Accept-Charset":"UTF-8","Connection":"close","Content-Type":"application/json","Date":"Tue, 25 Jun 2024 02:34:09 GMT","Transfer-Encoding":"chunked"},"originalResponseHeader":{"Connection":["close"],"Content-Type":["application/json"],"Date":["Tue, 25 Jun 2024 02:34:09 GMT"],"Transfer-Encoding":["chunked"]},"charset":"UTF-8"}}

  3. 2024-06-25 10:34:09.919  WARN 22073 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-demo] & group[DEFAULT_GROUP]

  4. 2024-06-25 10:34:09.922  WARN 22073 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-demo.yaml] & group[DEFAULT_GROUP]

  5. 2024-06-25 10:34:09.924  WARN 22073 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-demo-dev.yaml] & group[DEFAULT_GROUP]

  6. 2024-06-25 10:34:09.925  INFO 22073 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-blade-demo-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-demo.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-demo,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade.yaml,DEFAULT_GROUP'}]

  7. 2024-06-25 10:34:09.936  INFO 22073 --- [           main] org.springblade.demo.DemoApplication     : The following 1 profile is active: "dev"

  8. 2024-06-25 10:34:09.939  WARN 22073 --- [           main] o.s.c.annotation.AnnotationTypeMapping   : Support for convention-based annotation attribute overrides is deprecated and will be removed in Spring Framework 6.2. Please annotate the following attributes in @org.springblade.core.cloud.feign.EnableBladeFeign with appropriate @AliasFor declarations: [clients, basePackageClasses, basePackages, defaultConfiguration]

  9. 2024-06-25 10:34:10.484  INFO 22073 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode

  10. 2024-06-25 10:34:10.485  INFO 22073 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.

  11. 2024-06-25 10:34:10.492  INFO 22073 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 2 ms. Found 0 Redis repository interfaces.

  12. 2024-06-25 10:34:10.558  WARN 22073 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[org.springblade.demo]' package. Please check your configuration.

  13. 2024-06-25 10:34:10.604  INFO 22073 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=2fdad139-0995-3bad-883b-70b8b878cb6b

  14. 2024-06-25 10:34:10.606  INFO 22073 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init.

  15. 2024-06-25 10:34:10.626  INFO 22073 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean.

  16. 2024-06-25 10:34:10.867  WARN 22073 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerAutoConfiguration$DeferringLoadBalancerInterceptorConfig' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerAutoConfiguration$DeferringLoadBalancerInterceptorConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [lbRestClientPostProcessor] is declared through a non-static factory method on that class; consider declaring it as static instead.

  17. 2024-06-25 10:34:10.868  WARN 22073 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'deferringLoadBalancerInterceptor' of type [org.springframework.cloud.client.loadbalancer.DeferringLoadBalancerInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [lbRestClientPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.

  18. 2024-06-25 10:34:11.019  WARN 22073 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used

  19. 2024-06-25 10:34:11.027  INFO 22073 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext

  20. 2024-06-25 10:34:11.027  INFO 22073 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1083 ms

  21. 2024-06-25 10:34:11.230  INFO 22073 --- [           main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource

  22. 2024-06-25 10:34:11.630  INFO 22073 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} inited

  23. 2024-06-25 10:34:11.760  WARN 22073 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'demoController' defined in file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/controller/DemoController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'blogServiceImpl': Unsatisfied dependency expressed through field 'baseMapper': Error creating bean with name 'blogMapper' defined in file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.xml]'

  24. 2024-06-25 10:34:11.760  INFO 22073 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closing ...

  25. 2024-06-25 10:34:11.762  INFO 22073 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closed

  26. 2024-06-25 10:34:11.773  INFO 22073 --- [           main] .s.b.a.l.ConditionEvaluationReportLogger : 


  27. Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.

  28. 2024-06-25 10:34:11.780 ERROR 22073 --- [           main] o.s.boot.SpringApplication               : Application run failed


  29. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'demoController' defined in file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/controller/DemoController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'blogServiceImpl': Unsatisfied dependency expressed through field 'baseMapper': Error creating bean with name 'blogMapper' defined in file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.xml]'

  30. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795)

  31. at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237)

  32. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1355)

  33. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192)

  34. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562)

  35. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)

  36. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)

  37. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)

  38. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)

  39. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)

  40. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975)

  41. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962)

  42. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)

  43. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)

  44. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)

  45. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)

  46. at org.springframework.boot.SpringApplication.run(SpringApplication.java:334)

  47. at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149)

  48. at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:59)

  49. at org.springblade.demo.DemoApplication.main(DemoApplication.java:47)

  50. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'blogServiceImpl': Unsatisfied dependency expressed through field 'baseMapper': Error creating bean with name 'blogMapper' defined in file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.xml]'

  51. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:787)

  52. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:767)

  53. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145)

  54. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:508)

  55. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1419)

  56. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)

  57. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)

  58. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)

  59. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)

  60. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)

  61. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)

  62. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

  63. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443)

  64. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353)

  65. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904)

  66. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782)

  67. ... 19 common frames omitted

  68. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'blogMapper' defined in file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.xml]'

  69. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1516)

  70. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1410)

  71. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:599)

  72. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)

  73. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)

  74. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)

  75. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)

  76. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)

  77. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

  78. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443)

  79. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353)

  80. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:784)

  81. ... 34 common frames omitted

  82. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.xml]'

  83. at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648)

  84. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636)

  85. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1335)

  86. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1165)

  87. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562)

  88. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)

  89. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)

  90. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)

  91. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)

  92. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)

  93. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

  94. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443)

  95. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353)

  96. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1501)

  97. ... 45 common frames omitted

  98. Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception with message: Failed to parse mapping resource: 'file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.xml]'

  99. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:177)

  100. at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644)

  101. ... 58 common frames omitted

  102. Caused by: java.io.IOException: Failed to parse mapping resource: 'file [/Users/keli/IdeaProjects/bladex/blade-service/blade-demo/target/classes/org/springblade/demo/mapper/BlogMapper.xml]'

  103. at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.buildSqlSessionFactory(MybatisSqlSessionFactoryBean.java:564)

  104. at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.afterPropertiesSet(MybatisSqlSessionFactoryBean.java:437)

  105. at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.getObject(MybatisSqlSessionFactoryBean.java:595)

  106. at com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration.sqlSessionFactory(MybatisPlusAutoConfiguration.java:224)

  107. at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)

  108. at java.base/java.lang.reflect.Method.invoke(Method.java:578)

  109. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:140)

  110. ... 59 common frames omitted

  111. Caused by: org.apache.ibatis.builder.BuilderException: Error creating document instance.  Cause: org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 134; 文档根元素 "beans" 必须匹配 DOCTYPE 根 "null"。

  112. at org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java:262)

  113. at org.apache.ibatis.parsing.XPathParser.(XPathParser.java:127)

  114. at org.apache.ibatis.builder.xml.XMLMapperBuilder.(XMLMapperBuilder.java:85)

  115. at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.buildSqlSessionFactory(MybatisSqlSessionFactoryBean.java:561)

  116. ... 65 common frames omitted

  117. Caused by: org.xml.sax.SAXParseException: 文档根元素 "beans" 必须匹配 DOCTYPE 根 "null"。

  118. at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)

  119. at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:135)

  120. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)

  121. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)

  122. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)

  123. at java.xml/com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1539)

  124. at java.xml/com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1806)

  125. at java.xml/com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:728)

  126. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1407)

  127. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(XMLDocumentScannerImpl.java:1292)

  128. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3079)

  129. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:836)

  130. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)

  131. at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)

  132. at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)

  133. at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)

  134. at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

  135. at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:247)

  136. at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)

  137. at org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java:260)

  138. ... 68 common frames omitted

2. 

3.


二、你期待的结果是什么?实际看到的又是什么?

请问这个是哪块的问题 ? 该怎么解决

三、你正在使用的是什么产品,什么版本?在什么操作系统上?


四、请提供详细的错误堆栈信息,这很重要。


五、若有更多详细信息,请在下面提供。

1条回答
  •  zhx1994
    zhx1994 (楼主)
    2024-06-25 12:57

    先clean install下项目

    0 讨论(0)
提交回复