The SAX parser pull-parser conflicts with Tomcat SAX parser : org.xml.sax.SAXNotSupportedException: not supported setting property | Technical, Finance, Investment Questions

The SAX parser pull-parser conflicts with Tomcat SAX parser : org.xml.sax.SAXNotSupportedException: not supported setting property

Naveen Sharma

6 months ago

I am using a vendor Third Party Library Jar for using their API.

Recently we have upgraded this Jar and we started getting error.

I am trying to build Gradle with Gradle-6.0 and SpringBoot version 2.3.0. I am suddenly started getting this below error.


Root Cause: The SAX parser pull-parser conflicts with Tomcat SAX parser.


Solution: I excluded pull-parser dependency from my Third Party Library Jar like below in build.gradle file.


exclude group:"pull-parser",module:"pull-parser"


Error:


org.xml.sax.SAXNotSupportedException: not supported setting property http://xml.org/sax/properties/lexical-handler

    at org.gjt.xpp.sax2.Driver.setProperty(Driver.java:204)

    at org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:871)

Naveen Sharma

Senior Software Developer at Epsilon Singapore

6 months ago

Featured Blogs
not found

Category: Investment

Author: Sushmita Pal

Posted : 1 days ago

0( 0 Comments )
not found

Category: Investment

Author: Sushmita Pal

Posted : 3 days ago

60( 0 Comments )
not found

Category: Startup

Author: Anushka Trivedi

Posted : 4 days ago

50( 0 Comments )
not found

Category: Investment

Author: Anushka Trivedi

Posted : 4 days ago

32( 0 Comments )
not found

Category: Investment

Author: Anushka Trivedi

Posted : 4 days ago

64( 0 Comments )
not found

Category: Startup

Author: Anushka Trivedi

Posted : 9 days ago

142( 0 Comments )
not found

Category: Startup

Author: Anushka Trivedi

Posted : 12 days ago

122( 0 Comments )
not found

Category: Technology

Author: Sweety Singh

Posted : 12 days ago

173( 0 Comments )
not found

Category: Stocks

Author: Sweety Singh

Posted : 14 days ago

69( 0 Comments )
not found

Category: Technology

Author: Sweety Singh

Posted : 14 days ago

53( 0 Comments )
Featured Questions
not found

Category: Politics

Author: Ashmit Patel

Posted : 5 months ago

305( 0 Comments )

Category: Property

Author: Advocate Minakshi Mittal

Posted : 7 months ago

128( 0 Comments )

Category: Technology

Author: Ramya Srinivas

Posted : 12 months ago

17( 0 Comments )

Category: Investment

Author: Ramesh Ahlawat

Posted : 1 years ago

12( 1 Comments )

Category: Property

Author: Prameet Singh

Posted : 1 years ago

45( 0 Comments )

Category: Property

Author: Prameet Singh

Posted : 1 years ago

40( 0 Comments )
not found

Category: Investment

Author: Sudhakar Chitturu

Posted : 2 years ago

83( 0 Comments )

Category: Technology

Author: Mohit Gupta

Posted : 2 years ago

126( 1 Comments )
not found

Category: Investment

Author: Sanjana Thakkar

Posted : 2 years ago

80( 0 Comments )

Category: Property

Author: Ankit Kumar

Posted : 2 years ago

1122( 0 Comments )