Dark horse purchased for gifted start dubbo service error

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_40646143/article/details/88094409

The following error

  • java.lang.RuntimeException:
  • Initialization of bean failed; nested exception is java.lang.RuntimeException: java.io.IOException: invalid constant type: 18

 

Solution is as follows

The jar package items are as follows

            <dependency>
                <groupId>javassist</groupId>
                <artifactId>javassist</artifactId>
                <version>3.10.0.GA</version>
            </dependency>

Changed

            <dependency>
                <groupId>org.javassist</groupId>
                <artifactId>javassist</artifactId>
                <version>3.18.0-GA</version>
            </dependency>

It can start running again normal service

Guess you like

Origin blog.csdn.net/qq_40646143/article/details/88094409