{"action":"created","issue":{"url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/107","repository_url":"https://api.github.com/repos/mybatis/spring-boot-starter","labels_url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/107/comments","events_url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/107/events","html_url":"https://github.com/mybatis/spring-boot-starter/issues/107","id":184048457,"number":107,"title":"Property 'mapperLocations' was not specified or no matching resources found","user":{"login":"raf66","id":166992,"avatar_url":"https://avatars.githubusercontent.com/u/166992?v=3","gravatar_id":"","url":"https://api.github.com/users/raf66","html_url":"https://github.com/raf66","followers_url":"https://api.github.com/users/raf66/followers","following_url":"https://api.github.com/users/raf66/following{/other_user}","gists_url":"https://api.github.com/users/raf66/gists{/gist_id}","starred_url":"https://api.github.com/users/raf66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raf66/subscriptions","organizations_url":"https://api.github.com/users/raf66/orgs","repos_url":"https://api.github.com/users/raf66/repos","events_url":"https://api.github.com/users/raf66/events{/privacy}","received_events_url":"https://api.github.com/users/raf66/received_events","type":"User","site_admin":false},"labels":[{"id":297602050,"url":"https://api.github.com/repos/mybatis/spring-boot-starter/labels/waiting-feedback","name":"waiting-feedback","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-19T19:09:14Z","updated_at":"2016-11-29T06:50:27Z","closed_at":null,"body":"In my application.properties file, the only mybatis entry I have is:\n\n   mybatis.mapper-locations=classpath_:mapper/_Mapper.xml\n\nThe actual XML files are in:\n   src/main/resources/mappers/\n       |-> UserMapper.xml\n\nMy Mapper interfaces are loaded using the @Mapper annotation.\n\nI am using 1.1.1 of mybatis-spring-boot-starter\n\nHere's the start-up log:\n\nSearching for mappers annotated with @Mapper'\nUsing auto-configuration base package 'com.sample.'\nIdentified candidate component class: file .../db/mappers/UserMapper.class\nCreating MapperFactoryBean with name 'userMapper' and ...UserMapper' mapperInterface\nEnabling autowire by type for MapperFactoryBean with name 'userMapper'.\nProperty `configuration` or 'configLocation' not specified, using default MyBatis Configuration\nProperty 'mapperLocations' was not specified or no matching resources found\nNo org.mybatis.spring.mapper.MapperFactoryBean found.\n\nThen:\n\nServlet.service() for servlet [dispatcherServlet] in context with path [/v1] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): ....mappers.UserMapper.selectUserById] with root cause\n\norg.apache.ibatis.binding.BindingException: Invalid bound statement (not found): ....mappers.UserMapper.selectUserById\n\nAny ideas?\n"},"comment":{"url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/comments/263490903","html_url":"https://github.com/mybatis/spring-boot-starter/issues/107#issuecomment-263490903","issue_url":"https://api.github.com/repos/mybatis/spring-boot-starter/issues/107","id":263490903,"user":{"login":"ShawnyXiao","id":9656978,"avatar_url":"https://avatars.githubusercontent.com/u/9656978?v=3","gravatar_id":"","url":"https://api.github.com/users/ShawnyXiao","html_url":"https://github.com/ShawnyXiao","followers_url":"https://api.github.com/users/ShawnyXiao/followers","following_url":"https://api.github.com/users/ShawnyXiao/following{/other_user}","gists_url":"https://api.github.com/users/ShawnyXiao/gists{/gist_id}","starred_url":"https://api.github.com/users/ShawnyXiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShawnyXiao/subscriptions","organizations_url":"https://api.github.com/users/ShawnyXiao/orgs","repos_url":"https://api.github.com/users/ShawnyXiao/repos","events_url":"https://api.github.com/users/ShawnyXiao/events{/privacy}","received_events_url":"https://api.github.com/users/ShawnyXiao/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T06:50:27Z","updated_at":"2016-11-29T06:50:27Z","body":"I encouter the same problem. How to provide a repro project?"}}
{"actor":{"display_login":"ShawnyXiao"}}