
springboot
Jiunn-Nan_Khan
没困难的困难是最在的困难
展开
-
springboot报错(二) Internal Server Error,status=500
重新配置一次springboot我的pom里边的配置如下<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://mave原创 2017-09-20 10:50:08 · 39963 阅读 · 0 评论 -
SpringBoot报错(十) WARN:ationConfigEmbeddedWebApplicationContext
错误如下2017-12-25 09:54:11.645 WARN 1852 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.spring...原创 2018-05-29 13:57:46 · 2399 阅读 · 1 评论 -
SpringBoot报错(十四)redis报错 nested exception is redis.clients.jedis.exceptions.JedisDataException: NOAUT
Redis报错原因有多种,以下列出了两种原因一、Redis设置了密码,然而您的配置文件中却没加密码便会出现以下错误WARN o.s.b.a.h.RedisHealthIndicator[AbstractHealthIndicator.java:46] - Health check failedorg.springframework.dao.InvalidDataAccessAp...原创 2018-05-29 11:22:38 · 27982 阅读 · 2 评论 -
SpringBoot报错(十二)Redis NOAUTH Authentication required.
NOAUTH Authentication required.原创 2018-03-26 16:50:08 · 7067 阅读 · 1 评论 -
SpringBoot报错(十三)java.net.BindException: Address already in use
在centos当中运行了我的springboot,出现了以下的状况代码块[ main] o.a.coyote.http11.Http11NioProtocol : Failed to start end point associated with ProtocolHandler ["http-nio-88"]java.net.BindException: ...原创 2018-03-30 15:53:53 · 672 阅读 · 0 评论 -
Springboot 的 application.properties 配置属性
一直在写一些关于错误的博客,想想,觉得错误不是每种都可以遇到的所以今天我想写一个配置的博客 application 的配置属性。 这些属性是否生效取决于对应的组件是否声明为 Spring 应用程序上下文里的 Bean(基本是自动配置的),为一个不生效的组件设置属性是没有用的。(如果使用的是application.yaml就自己做相应的修改)multipartmultipar...原创 2018-03-20 16:45:13 · 1724 阅读 · 0 评论 -
SpringBoot报错(十一)Failed to load ApplicationContext (三)
这次是一个失误,因为我竟然忘记配置mybatis的config了 修改一个地方,一是你自己配置的mybatisConfig,二就是在application启动文件里边加上 @MapperScan(basePackages = “包名.mapper”)即可java.lang.IllegalStateException: Failed to load ApplicationContext ...原创 2018-03-08 15:45:36 · 3583 阅读 · 2 评论 -
POI操作Word报错(一)java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.mai
java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTPictureBaseImpl.<init>(org.apache.xmlbeans.SchemaType, boolean) at java.lang.Class.getConstructor0(Cla原创 2018-01-16 16:46:46 · 10638 阅读 · 2 评论 -
SpringBoot报错(五) Failed to load ApplicationContext (2)
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelega...原创 2017-12-07 16:42:14 · 8135 阅读 · 5 评论 -
SpringBoot报错(十) WARN:ationConfigEmbeddedWebApplicationContext
2017-12-25 09:54:11.645 WARN 1852 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframewo...原创 2017-12-25 09:56:52 · 12272 阅读 · 2 评论 -
SpringBoot报错(九)配置Mybatis报错
2017-11-09 17:03:50.579 WARN 12020 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframew...原创 2017-11-09 17:05:35 · 2247 阅读 · 0 评论 -
SpringBoot报错(六)热部署报错
[org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration.class]原创 2017-10-16 10:38:45 · 6286 阅读 · 2 评论 -
SpringBoot报错(五) Failed to load ApplicationContext
[org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]原创 2017-10-09 16:27:04 · 24947 阅读 · 0 评论 -
SpringBoot报错(八)返回页面报错
2017-11-09 15:36:51.563 ERROR 2448 --- [p-nio-88-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could no...原创 2017-11-09 15:40:35 · 6393 阅读 · 0 评论 -
SpringBoot报错(七)日常报错jar包冲突
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.2017-11-07 16:14:51.364 ERROR 1688 --- [ restartedMain] o.s.boot.SpringAppli...原创 2017-11-07 16:25:48 · 12258 阅读 · 2 评论 -
SpringBoot报错(四)通用Mapper插件的配置即使用报错
今天来配置mybatis的通用mapper,使用了Mapper插件 <!--通用Mapper插件--> <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> ...原创 2017-10-09 15:49:04 · 6639 阅读 · 0 评论 -
springboot报错(三) webjars被拦截或找不到
一直提示webjars下的文件路径不对,同样也找不到,最开始是404,后来按照网上的各种瞎扯,找到了一个在application里边配置的方法2017-09-25 14:30:20.615 WARN 11824 --- [nio-8080-exec-3] o.s.web.servlet.PageNotFound : No mapping found for H...原创 2017-09-25 14:31:18 · 12935 阅读 · 2 评论 -
SpringBoot报错(一)端口被占用Address already in use: bind
今天第一次配置springboot就出现一个粗心的错误,虽然我知道怎么解决,但出错,想着就不是很舒服。这个问题的原因是端口被占用,解决方法就是修改Application里边的配置,修改调端口号在application里边加入server.port=8888 . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _...原创 2017-09-19 14:05:13 · 46461 阅读 · 16 评论 -
SpringBoot报错(十五)java.lang.IllegalArgumentException: Request header is too large
Springboot的Tomcat报错Springboot提交数据,直接报错,这种情况一看后台,写了tomcat,就知道是它在搞鬼,错误代码如下java.lang.IllegalArgumentException: Request header is too large at org.apache.coyote.http11.Http11InputBuffer.fill(Http11Inpu...原创 2019-03-29 10:19:22 · 1379 阅读 · 0 评论