emacarron / mybatis

Automatically exported from code.google.com/p/mybatis
0 stars 0 forks source link

mapperLocations does not work for xml files inside JARs #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the MyBatis are you using?
mybatis-spring 1.0.0-RC1

Please describe the problem.  Unit tests are best!
Cannot load mappers from other jars with mapperLocator

What is the expected output? What do you see instead?
Just on jar is loaded.

Please provide any additional information below.
http://groups.google.com/group/mybatis-user/browse_thread/thread/d6d79c0ca0a6c81
9

mapperLocation.getURI().getPath() gives null for URLResources.
it should be changed to .toString()

lets wait to see if Antonio reports the problem is solved.

Original issue reported on code.google.com by eduardo.macarron on 25 Oct 2010 at 9:01

GoogleCodeExporter commented 9 years ago

Original comment by eduardo.macarron on 26 Oct 2010 at 1:52

GoogleCodeExporter commented 9 years ago

Original comment by eduardo.macarron on 1 Jan 2011 at 4:40