SpringBoot-Learning icon indicating copy to clipboard operation
SpringBoot-Learning copied to clipboard

《Spring Boot基础教程》,2.x版本持续连载中!点击下方链接直达教程目录!

Results 70 SpringBoot-Learning issues
Sort by recently updated
recently updated
newest added
trafficstars

## 1.测试问题 `@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)`改为`@SpringBootTest`好像就可以了。 see ## 2.`maven install`问题 ```java [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.329 s

SpringBoot-Learning/2.1.x/chapter2-1/src/test/java/com/didispace/chapter21/

数据库表名有前缀,用下划线链接 并且使用generator自动生成代码 。 但是生成不了有下划线的表实体类 这种情况怎么处理啊

为啥UserController 中的getID() setName, setAge都标红

springboot内置tomcat开启访问日志,是否可以借助log4j,控制accesslog日志的个数,避免人为定期清理accesslog。 外置tomcat可以通过log4j RollingFileAppender控制accesslog个数。 springboot如何使用RollingFileAppender输出访问日志

报错信息: ``` org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentationPluginsBootstrapper' defined in URL [jar:file:/D:/Software/Apache/apache-maven-3.6.0/repository/io/springfox/springfox-spring-web/2.9.2/springfox-spring-web-2.9.2.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider'...

Error:(34, 58) java: 找不到符号 符号: 方法 accept(org.springframework.http.MediaType) 位置: 接口 org.springframework.test.web.servlet.ResultActions