添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V

Ask Question What version of Apache Tomcat are you using? What other XML parsers are on your classpath? Gagravarr Oct 9, 2018 at 15:16 This is likely caused by having an ancient XML parser on your classpath - eg eclipse.org/forums/index.php/t/781657 - can you upgrade to xerces 2.12.0? PJ Fanning Oct 9, 2018 at 19:12 Thank you very much everyone! You are right, the problem was an XML parser (xalan) in my case, Tho, doesn't apache poi have its own xml parser? sticky_elbows Oct 10, 2018 at 6:37 Apache POI like most Java projects uses docs.oracle.com/javase/8/docs/technotes/guides/xml/jaxp/… - basically, it is up to the user to ensure they have their JVM set up correctly PJ Fanning Oct 10, 2018 at 23:13 All seems to be working now after reading this: developerblogging.blogspot.com/2013/04/… . If you will scroll down to the bottom. So I added the above line to my eclipse.ini file. Restarted and was finally able to run tomcat. DoesEatOats Oct 27, 2019 at 14:47

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .