码迷,mamicode.com
首页 > 编程语言 > 详细

Caused by: java.lang.ClassNotFoundException: org.fusesource.jansi.WindowsAnsiOutputStream

时间:2019-07-17 09:33:11      阅读:108      评论:0      收藏:0      [点我收藏+]

标签:ber   spi   val   logback   work   没有   ansi   mes   generic   

08:23:18,995 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
08:23:18,997 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
08:23:19,050 |-WARN in Logger[org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator] - No appenders present in context [default] for logger [org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator].
08:23:19,059 |-INFO in ch.qos.logback.core.ConsoleAppender[CONSOLE] - Enabling JANSI WindowsAnsiOutputStream for the console.
08:23:19,061 |-WARN in ch.qos.logback.core.ConsoleAppender[CONSOLE] - Failed to create WindowsAnsiOutputStream. Falling back on the default stream. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream
    at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.fusesource.jansi.WindowsAnsiOutputStream
    at     at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:69)
    at     at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:40)
    at     at ch.qos.logback.core.ConsoleAppender.getTargetStreamForWindows(ConsoleAppender.java:88)
    at     at ch.qos.logback.core.ConsoleAppender.start(ConsoleAppender.java:79)
    at     at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:90)
    at     at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:309)
    at     at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:193)
    at     at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:179)
    at     at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
    at     at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
    at     at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
    at     at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
    at     at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
    at     at org.springframework.boot.logging.logback.LogbackLoggingSystem.configureByResourceUrl(LogbackLoggingSystem.java:175)
    at     at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:152)
    at     at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:79)
    at     at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:59)
    at     at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:117)
    at     at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:279)
    at     at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:254)
    at     at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:219)
    at     at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:196)
    at     at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
    at     at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
    at     at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
    at     at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
    at     at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:75)
    at     at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53)
    at     at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:340)
    at     at org.springframework.boot.SpringApplication.run(SpringApplication.java:304)
    at     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)
    at     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)
    at     at com.nums.industry3.Industry3Application.main(Industry3Application.java:12)
Caused by: java.lang.ClassNotFoundException: org.fusesource.jansi.WindowsAnsiOutputStream
    at     at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
    at     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at     at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:56)
    at     ... 32 common frames omitted

使用springboot中的logback时候,没有解决的问题

Caused by: java.lang.ClassNotFoundException: org.fusesource.jansi.WindowsAnsiOutputStream

标签:ber   spi   val   logback   work   没有   ansi   mes   generic   

原文地址:https://www.cnblogs.com/qingmuchuanqi48/p/11198687.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!