spring boot+mybatis plus启动报错,bean未注入(java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal)问题

桃扇骨 2021-09-24 11:04 419阅读 0赞
  1. Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal
  2. at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  3. at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  4. at java.security.AccessController.doPrivileged(Native Method)
  5. at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  6. at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  7. at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  8. at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  9. ... 63 more

加入

  1. <dependency>
  2. <groupId>xml-apis</groupId>
  3. <artifactId>xml-apis</artifactId>
  4. <version>1.4.01</version>
  5. </dependency>

发表评论

表情:
评论列表 (有 0 条评论,419人围观)

还没有评论,来说两句吧...

相关阅读