wood burning stoves
The moose likes XML and Related Technologies and the fly likes Problem running XALAN samples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Problem running XALAN samples" Watch "Problem running XALAN samples" New topic

Problem running XALAN samples

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303

I downloaded xalan.jar, xercesImpl.jar and xml-apis.jar file and have added them to the classpath along with xalansamples.jar.

When i tried to run SimpleTransform, I get the following error message:

at java.util.Hashtable.get(Compiled Code)
at java.util.Properties.getProperty(Properties.java:271)
at java.lang.System.getProperty(System.java:420)
at javax.xml.transform.SecuritySupport.getSystemProperty(Unknown Source)

at javax.xml.transform.FactoryFinder.find(Unknown Source)
at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at SimpleTransform.main(SimpleTransform.java:45)

Wht is the reason for this message? Anybody any ideas??

SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Could you post "SimpleTransform.java:45" for us to see? Maybe that'll give some hints.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Consider Paul's rocket mass heater.
subject: Problem running XALAN samples