Good point! :) The only reason it is struts related is because it's
happening my struts app. (A pretty weak link I must admit.) I suspect it's
more of a general java development environment issue. Got any good "java
development environment issue" mailing lists?


-----Original Message-----
From: Paul McCulloch [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 17, 2004 10:26 AM
To: 'Struts Users Mailing List'
Subject: RE: Could not find resource error

And this is struts related how?

> -----Original Message-----
> From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
> Sent: 17 February 2004 17:22
> To: 'Struts Users Mailing List'
> Subject: Could not find resource error
> 
> 
> Can't figure out why this code is giving me an error:
> 
>  
> 
> import java.io.Reader;
> 
> import com.ibatis.common.resources.Resources;
> 
>  
> 
> Reader reader =
> Resources.getResourceAsReader("properties/sql-map-config.xml");
> 
>  
> 
>  
> 
> The error I'm getting is:
> 
>  
> 
> java.io.IOException: Could not find resource 
> properties/sql-map-config.xml
> at 
> com.ibatis.common.resources.Resources.getResourceAsStream(Ljava.lang.
> 
> String;)Ljava.io.InputStream;(Unknown Source)
> 
>  
> 
> I verified the file is there, but my app can't find it. Is 
> there a setting
> somewhere I have messed up somehow? Any suggestions on things 
> I can check?
> 
>  
> 
> Thanks,
> 
> Brian Barnett
> 
> 


**************************************
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery
of the message to such person), you may not copy or deliver this message to
anyone. In such case, you should destroy this message, and notify us
immediately. If you or your employer does not consent to Internet email
messages of this kind, please advise us immediately. Opinions, conclusions
and other information expressed in this message are not given or endorsed by
my Company or employer unless otherwise indicated by an authorised
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being
transmitted via electronic mail attachments we cannot guarantee that
attachments do not contain computer virus code.  You are therefore strongly
advised to undertake anti virus checks prior to accessing the attachment to
this electronic mail.  Axios Systems Ltd grants no warranties regarding
performance use or quality of any attachment and undertakes no liability for
loss or damage howsoever caused.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to