spring-boot-starter icon indicating copy to clipboard operation
spring-boot-starter copied to clipboard

MyBatis integration with Spring Boot

Results 33 spring-boot-starter issues
Sort by recently updated
recently updated
newest added
trafficstars

When I start SampleAnnotationApplication in module `mybatis-spring-boot-samples`, it shows this error: ``` D:\devPrograms\jdk\openjdk-18.0.2_windows-x64_bin\jdk-18.0.2\bin\java.exe -XX:TieredStopAtLevel=1 -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-Dmanagement.endpoints.jmx.exposure.include=*" -javaagent:D:\devPrograms\JetBrains\ideaIU-2023.1.win\lib\idea_rt.jar=63800:D:\devPrograms\JetBrains\ideaIU-2023.1.win\bin -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath D:\code\github\spring-boot-starter\mybatis-spring-boot-samples\mybatis-spring-boot-sample-annotation\target\classes;D:\repository\org\springframework\boot\spring-boot-starter\3.1.2\spring-boot-starter-3.1.2.jar;D:\repository\org\springframework\boot\spring-boot\3.1.2\spring-boot-3.1.2.jar;D:\repository\org\springframework\boot\spring-boot-autoconfigure\3.1.2\spring-boot-autoconfigure-3.1.2.jar;D:\repository\org\springframework\boot\spring-boot-starter-logging\3.1.2\spring-boot-starter-logging-3.1.2.jar;D:\repository\ch\qos\logback\logback-classic\1.4.8\logback-classic-1.4.8.jar;D:\repository\ch\qos\logback\logback-core\1.4.8\logback-core-1.4.8.jar;D:\repository\org\apache\logging\log4j\log4j-to-slf4j\2.20.0\log4j-to-slf4j-2.20.0.jar;D:\repository\org\apache\logging\log4j\log4j-api\2.20.0\log4j-api-2.20.0.jar;D:\repository\org\slf4j\jul-to-slf4j\2.0.7\jul-to-slf4j-2.0.7.jar;D:\repository\jakarta\annotation\jakarta.annotation-api\2.1.1\jakarta.annotation-api-2.1.1.jar;D:\repository\org\yaml\snakeyaml\1.33\snakeyaml-1.33.jar;D:\repository\org\springframework\boot\spring-boot-starter-jdbc\3.1.2\spring-boot-starter-jdbc-3.1.2.jar;D:\repository\com\zaxxer\HikariCP\5.0.1\HikariCP-5.0.1.jar;D:\repository\org\springframework\spring-jdbc\6.0.11\spring-jdbc-6.0.11.jar;D:\code\github\spring-boot-starter\mybatis-spring-boot-autoconfigure\target\classes;D:\repository\org\mybatis\mybatis\3.5.13\mybatis-3.5.13.jar;D:\repository\org\mybatis\mybatis-spring\3.0.2\mybatis-spring-3.0.2.jar;D:\repository\com\h2database\h2\2.1.214\h2-2.1.214.jar;D:\repository\org\slf4j\slf4j-api\2.0.7\slf4j-api-2.0.7.jar;D:\repository\org\springframework\spring-core\6.0.11\spring-core-6.0.11.jar;D:\repository\org\springframework\spring-jcl\6.0.11\spring-jcl-6.0.11.jar;D:\repository\org\springframework\spring-tx\6.0.11\spring-tx-6.0.11.jar;D:\repository\org\springframework\boot\spring-boot-starter-web\3.1.2\spring-boot-starter-web-3.1.2.jar;D:\repository\org\springframework\boot\spring-boot-starter-json\3.1.2\spring-boot-starter-json-3.1.2.jar;D:\repository\com\fasterxml\jackson\core\jackson-databind\2.15.2\jackson-databind-2.15.2.jar;D:\repository\com\fasterxml\jackson\core\jackson-annotations\2.15.2\jackson-annotations-2.15.2.jar;D:\repository\com\fasterxml\jackson\core\jackson-core\2.15.2\jackson-core-2.15.2.jar;D:\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.15.2\jackson-datatype-jdk8-2.15.2.jar;D:\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.15.2\jackson-datatype-jsr310-2.15.2.jar;D:\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.15.2\jackson-module-parameter-names-2.15.2.jar;D:\repository\org\springframework\boot\spring-boot-starter-tomcat\3.1.2\spring-boot-starter-tomcat-3.1.2.jar;D:\repository\org\apache\tomcat\embed\tomcat-embed-core\10.1.11\tomcat-embed-core-10.1.11.jar;D:\repository\org\apache\tomcat\embed\tomcat-embed-el\10.1.11\tomcat-embed-el-10.1.11.jar;D:\repository\org\apache\tomcat\embed\tomcat-embed-websocket\10.1.11\tomcat-embed-websocket-10.1.11.jar;D:\repository\org\springframework\spring-web\6.0.11\spring-web-6.0.11.jar;D:\repository\org\springframework\spring-beans\6.0.11\spring-beans-6.0.11.jar;D:\repository\io\micrometer\micrometer-observation\1.11.2\micrometer-observation-1.11.2.jar;D:\repository\io\micrometer\micrometer-commons\1.11.2\micrometer-commons-1.11.2.jar;D:\repository\org\springframework\spring-webmvc\6.0.11\spring-webmvc-6.0.11.jar;D:\repository\org\springframework\spring-aop\6.0.11\spring-aop-6.0.11.jar;D:\repository\org\springframework\spring-context\6.0.11\spring-context-6.0.11.jar;D:\repository\org\springframework\spring-expression\6.0.11\spring-expression-6.0.11.jar sample.mybatis.annotation.SampleAnnotationApplication . ____ _...

waiting-feedback

I user Spring Boot 3.0.8, and also use `org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.2` I try to use mybatisCursorItemReader but warn log is shown. `'open(ExecutionContext): Unit' is deprecated. Overrides deprecated member in 'org.springframework.batch.item.support.AbstractItemStreamItemReader'. Deprecated in...

waiting-feedback

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.forum.mapper.AdsMapper.getAdList my xml : ```xml SELECT * FROM forum_ads WHERE channel_id IN (#{channelId},0) AND status = 0 ORDER BY sort DESC ``` my dao:...

waiting-feedback

I'm trying to configure a `Spring Boot` application that uses `MyBatis` in order to run the tests for the mappers. I noticed the annotation declares an `excludeAutoConfiguration` parameter. I went...

Hello, Thank you for all the hard work on the starter. I wonder if having [a relationship between the starter and the "mybatis-spring" dependency](https://mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/) in the documentation is so important....

enhancement
documentation

All the samples use the same package space. This is generally not a good idea. In order to fix coveralls so it works during github actions, all the samples need...

i know your means,but i have so many xml files in the same prefix namespace,just like this. this is example springboot project https://github.com/louandme/mybatis-spring-boot-starter-override-test.git ![1640853865(1)](https://user-images.githubusercontent.com/53675908/147735824-86bbcdc9-c4f1-4e7b-81c5-f4b45936ac98.png) _Originally posted by @louandme in https://github.com/mybatis/spring-boot-starter/issues/606#issuecomment-1002928549_

Hello there. I have a compatibility issue. Before I was using Spring Boot v2.7.18, Spring v5.3.31 with mybatis-spring-boot-starter v3.0.1 and everything was perfect. Due to policy, I had to upgrade...

waiting-feedback

TSIA I see the pom is already updated, so maybe it's only needed to release?