引入注入@table、@id类似的注解
<dependency>
<groupId>tk.mybatis</groupId>
<artifactId>mapper-core</artifactId>
<version>1.0.4</version>
</dependency>
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.dianshang.mapper.BrandMapper.selectByExample
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.NullPointerException