SptingBoot
Ghoulgrave
这个作者很懒,什么都没留下…
展开
-
IDEA springboot启动ClassNotFoundException: javax.servlet.ServletContext
错误部分 Caused by: java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.web.support.SpringBootServletInitializer at org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnno原创 2020-07-14 15:29:36 · 1391 阅读 · 0 评论 -
springboot工程中文乱码
springboot工程的日志在文件中中文正常显示.在控制台是乱码解决方案 实际上就是每个输出中的charset的设置.windows下一般GBK,其他UTF-8. <?xml version="1.0" encoding="UTF-8" ?> <configuration scan="true" scanPeriod="60 seconds" debug="false"> <contextName>logback</contextName>原创 2020-06-16 17:49:01 · 252 阅读 · 0 评论