ycoe commented on issue #116: java.lang.NoClassDefFoundError: 
com/alibaba/dubbo/qos/server/DubboLogo
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/116#issuecomment-382939084
 
 
   com.alibaba.dubbo.qos.server.DubboLogo 这个类的maven坐标是什么?
   
   ```xml
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot</artifactId>
               <version>1.5.6.RELEASE</version>
           </dependency>
           <dependency>
               <groupId>com.alibaba</groupId>
               <artifactId>dubbo</artifactId>
               <version>2.8.4</version>
           </dependency>
           <dependency>
               <groupId>com.alibaba.spring.boot</groupId>
               <artifactId>dubbo-spring-boot-starter</artifactId>
               <version>2.0.0</version>
           </dependency>
   ```
   
   或者用新的项目都是报一样的错:
   ```xml
           <dependency>
               <groupId>com.alibaba.boot</groupId>
               <artifactId>dubbo-spring-boot-starter</artifactId>
               <version>0.1.0</version>
           </dependency>
   ```
   
   
   报错信息:
   ```
   2018-04-20 09:45:13.659 [main] ERROR o.s.boot.SpringApplication -  
Application startup failed
   java.lang.NoClassDefFoundError: com/alibaba/dubbo/qos/server/DubboLogo
        at 
com.alibaba.dubbo.spring.boot.context.event.DubboBannerApplicationListener.buildBannerText(DubboBannerApplicationListener.java:49)
        at 
com.alibaba.dubbo.spring.boot.context.event.DubboBannerApplicationListener.onApplicationEvent(DubboBannerApplicationListener.java:39)
        at 
com.alibaba.dubbo.spring.boot.context.event.DubboBannerApplicationListener.onApplicationEvent(DubboBannerApplicationListener.java:23)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:122)
        at 
org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74)
        at 
org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
        at 
org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:325)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:296)
        at com.duoec.cp.m.Application.main(Application.java:21)
   Caused by: java.lang.ClassNotFoundException: 
com.alibaba.dubbo.qos.server.DubboLogo
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 11 common frames omitted
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to