Dubbo start the newspaper Java.lang.ClassNotFoundException:javassist. ClassPath

Source: Internet
Author: User

Error reported during Dubbo startup: Java.lang.ClassNotFoundException:javassist. ClassPath, Debug Discovery code:class<?> clazz = Class.forName (line, true, ClassLoader) Execute load Class Com.alibaba.dubbo.common.compiler.support.JavassistCompiler times: java.lang.noclassdeffounderror:javassist/ ClassPath, this error is eventually processed to become the top error. But look under the project to find the dependencies of the package Javassist-3.18.1-ga.jar name exists, open these jar package, where the Javassist.classpath does exist ah, so I changed a version Javassist-3.18.2-ga.jar program run up. So what the hell is going on here?

In fact, it is because Javassistcompile used the class Javassist.classpath. After a little comparison, the last discovery Javassist-3.18.1-ga.jar This package is problematic, because its mainfest.fm file is not open, decompression is also reported in various class file format errors, it seems that this problem, time is not intended to be in-depth verification, in short, when we appear this problem, it is a possible problem , I hope we can provide clues to solve the problem.

Dubbo start the newspaper Java.lang.ClassNotFoundException:javassist. ClassPath

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.