参考文章:
Multiple annotations found at this line: 解决办法
报错记录:
Multiple annotations found at this line:
- schema_reference.4: Failed to read schema document ‘http://www.springframework.org/schema/tx/spring-
tx.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.
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
‘tx:advice’.
写.xml文件时,tx:advice报错
只需要加上对应的jar包的版本就好了
如下:
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document ‘http
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document ‘http
配置文件中的版本和jar包中的版本要一致

相关文章:

  • 2021-04-23
  • 2021-05-10
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2021-06-23
  • 2021-05-15
猜你喜欢
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案