java.lang.ClassFormatError

Method "<init>" in class com/alibaba/dubbo/common/bytecode/Wrapper0 has illegal signature "(V)V"

Solutions on the web1318

  • via Google Groups by 马德鑫, 6 months ago
    Method "<init>" in class com/alibaba/dubbo/common/bytecode/Wrapper0 has illegal signature "(V)V"
  • via Google Groups by 马德鑫, 6 months ago
    Method "<init>" in class com/alibaba/dubbo/common/bytecode/Wrapper0 has illegal signature "(V)V"
  • via jakarta-bcel-user by Nikhil C. Khedkar, 3 weeks ago
    com/training/db/Addition (Method "<init>" has illegal signature "(V)V")
  • Stack trace

    • java.lang.ClassFormatError: Method "<init>" in class com/alibaba/dubbo/common/bytecode/Wrapper0 has illegal signature "(V)V" at com.alibaba.dubbo.common.bytecode.ClassGenerator.toClass(ClassGenerator.java:350) at com.alibaba.dubbo.common.bytecode.Wrapper.makeWrapper(Wrapper.java:346) at com.alibaba.dubbo.common.bytecode.Wrapper.getWrapper(Wrapper.java:89) at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:426) at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:281) at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:242) at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:143) at com.alibaba.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:109) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:98) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:333) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:776) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:485) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.unionpay.test.dubbo.ProviderMain.main(ProviderMain.java:11) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: javassist.CannotCompileException: by java.lang.ClassFormatError: Method "<init>" in class com/alibaba/dubbo/common/bytecode/Wrapper0 has illegal signature "(V)V" at javassist.ClassPool.toClass(ClassPool.java:1089) at javassist.CtClass.toClass(CtClass.java:1166) at com.alibaba.dubbo.common.bytecode.ClassGenerator.toClass(ClassGenerator.java:338) ... 19 more Caused by: java.lang.ClassFormatError: Method "<init>" in class com/alibaba/dubbo/common/bytecode/Wrapper0 has illegal signature "(V)V" at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.lang.ClassLoader.defineClass(ClassLoader.java:643) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at javassist.ClassPool.toClass2(ClassPool.java:1102) at javassist.ClassPool.toClass(ClassPool.java:1083) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 7 months ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Once, 1 month ago
    Unknown user
    Once, 5 months ago
    68 more bugmates