You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by PG...@aol.com on 2005/04/18 18:27:34 UTC
ResourceNotFoundException
Hi There,
i've just installed Velocity within my Tomcat 5.5.7 instance. I 'm getting
the following ResourceNotFoundException error, which i assume means that the
template cant be found at the location specified.
Error:
ERROR http-8081-Processor4 Test - SampleServlet : view not found
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource
'C:\Tomcat\jakarta-tomcat-5.5.7\webapps\velocity\WEB-INF\sample.vm'
C:\Tomcat\jakarta-tomcat-5.5.7\webapps\velocity\WEB-INF\classes>dir
:\Tomcat\jakarta-tomcat-5.5.7\webapps\velocity\WEB-INF\sample.vm
Volume in drive C is System
Volume Serial Number is C861-EA43
Directory of C:\Tomcat\jakarta-tomcat-5.5.7\webapps\velocity\WEB-INF
14/04/2004 08:26 433 sample.vm
1 File(s) 433 bytes
0 Dir(s) 235,364,352 bytes free
However, if i looks at the results of my directory listing it does exist,
any suggestions?
thx
Re: ResourceNotFoundException
Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Gibbons,
> i've just installed Velocity within my Tomcat 5.5.7 instance. I 'm getting
> the following ResourceNotFoundException error, which i assume means that the
> template cant be found at the location specified.
## snip
> However, if i looks at the results of my directory listing it does exist,
> any suggestions?
Could it be that the user running tomcat doesn't have read permission
to that file? Also, it might help if you gave us some information on
how you are using Velocity, such as how you configured it and how you
are calling it.
Best regards,
-- Shinobu
--
Shinobu Kawai <sh...@gmail.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org