• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

HTMLEntities.res not found

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

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,
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know much about it. However, it seems to be a FAQ. Here is an answer I found, and most directly to your question.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!