Resources.getResourceAsReader(resource) cannot find resource
------------------------------------------------------------
Key: IBATIS-126
URL: http://issues.apache.org/jira/browse/IBATIS-126
Project: iBatis for Java
Type: Task
Components: SQL Maps
Reporter: hans zietsman
Hi: I'm fairly new to java (from C#)trying to get the basic ibatis (for java)
tutorial to work, but cannot get the 'Resources' class to find my main resource
(config.xml)- Resources.getResourceAsReader(resource) throws an io exception,
telling me it cannot find the resource.
the documentation for class: "com.ibatis.common.resources.Resources" and method
"getResourceAsReader(java.lang.String resource)" tells me that the method
"Returns a resource on the classpath as a Reader object". What is 'THE
classpath'? I use IntelliJ and reference several classpaths (one for every jar
file), including the various Ibatis jar files.
thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira