Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

openjdk-1.7.0_55 on ubuntu: Could not load the property file 'output_xml.properties' for output method 'xml'

On openjdk-1.7.0_55 on ubuntu I am getting exception:

com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException: Could not load the property file 'output_xml.properties' for output method 'xml'

Can this be classpath issue?

I can find "output_xml.properties" in /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/resources.jar.

Any help is appreciated.

Thanks!

like image 520
Android_enthusiast Avatar asked May 12 '14 20:05

Android_enthusiast


2 Answers

The issue might have been caused by a recent Java update and incomplete services restart per this page.

like image 164
Cebence Avatar answered Sep 20 '22 17:09

Cebence


you need to include the xalan JARs in the ../jre/lib/endorsed folder

from http://xml.apache.org/xalan-j/faq.html#jdk14:

Place the xalan.jar, serializer.jar, xercesImpl.jar and xml-apis.jar in the \lib\endorsed directory, where is where the runtime software is installed.

like image 22
gabe Avatar answered Sep 18 '22 17:09

gabe