alibaba.dubbo-java.io.IOException: invalid constant type: 15
阿新 • • 發佈:2019-02-01
service中的過載方法,會報出這樣的錯誤
這應該算是dubbo的一個bug吧。
public Boolean check(Map map);
public Boolean check(String json);
2016-12-16 17:05:53 [ main:4104 ] - [ WARN ] org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jxSignImpl' defined in file [E:\eclipse.workspaces\workspace\jx-ser-pay\target\classes\com\momfo\ser\pay\jx\service\JxSignImpl.class]: Initialization of bean failed; nested exception is java.lang.RuntimeException: java.io.IOException: invalid constant type: 15 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:835) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.momfo.ser.pay.main.PayStartUp.main(PayStartUp.java:16) Caused by: java.lang.RuntimeException: java.io.IOException: invalid constant type: 15