aspose file tools*
The moose likes Java in General and the fly likes HTMLEntities.res not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "HTMLEntities.res not found" Watch "HTMLEntities.res not found" New topic
Author

HTMLEntities.res not found

Massimo Giusti
Greenhorn

Joined: Jan 09, 2003
Posts: 9
Hi all,
i'm using Tomcat 4.0 as service on Windows 2000 Professional, JDK 1.4.0 and xalan, and I have this piece of code:
org.apache.xalan.serialize.Serializer serializer = org.apache.xalan.serialize.SerializerFactory.getSerializer
(org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties("html"));

I have not problem for compilation, but when i run my application I have this error:
java.io.FileNotFoundException: C:\WINNT\SYSTEM32\HTMLEntities.res (The system cannot find the file specified)
Why my application search HTMLEntities.res under
C:\WINNT\SYSTEM32??? In my rt.jar, where i have classes
org.apache.xalan.serialize, there is HTMLEntities.res file!!!
Why this is not used and java serach this file under
C:\WINNT\SYSTEM32???
When I used Tomcat not as service, but I restart him with
TOMCAT_HOME/bin/startup command, Java search HTMLEntities.res file under TOMCAT_HOME/bin .... somebody have any idea?
My version of xalan.jar doesn't contain org.apache.xalan.serialize classes. I must use this version of xalan.jar because i must use org.apache.xalan.xslt, that in "normal" xalan.jar there aren't.
Thanks in advance,
MaX
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTMLEntities.res not found