How can I determine which apt package I should install to have a certain jar file?
BTW: I'm actually looking to solve
XML parser factory has not been configured correctly: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
but I wish to find a general solution.
Let's do it by example:
- I miss org.apache.xerces.jaxp.SAXParserFactoryImpl
- so I can use http://search.maven.com and determin that I need xerces-1.4.4.jar
- but in which ubuntu package is that jar located?
dpkg -S /path/filename.jar
apt-file search /name/of/the/file
?