java.lang.RuntimeException
来源:互联网 发布:maya动漫软件 编辑:程序博客网 时间:2024/06/06 07:36
今天启动项目测试接口的时候一直报这个错误,最后弄明白原来是序列化的原因 因为我在入参的时候使用了int类型
解决办法将int改为Integer就行。错误信息如下
</pre><pre name="code" class="java">
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerjava.lang.RuntimeException: Inconsistent args count operand in invokeinterface in method com.alibaba.dubbo.common.bytecode.Wrapper36.invokeMethod(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; at offset 372at com.alibaba.dubbo.common.bytecode.Wrapper.makeWrapper(Wrapper.java:363)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:97)at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)at java.util.concurrent.FutureTask.run(FutureTask.java:166)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)at java.lang.Thread.run(Thread.java:722)Caused by: java.lang.VerifyError: Inconsistent args count operand in invokeinterface in method com.alibaba.dubbo.common.bytecode.Wrapper36.invokeMethod(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; at offset 372at java.lang.Class.getDeclaredFields0(Native Method)at java.lang.Class.privateGetDeclaredFields(Class.java:2317)at java.lang.Class.getField0(Class.java:2642)at java.lang.Class.getField(Class.java:1537)at com.alibaba.dubbo.common.bytecode.Wrapper.makeWrapper(Wrapper.java:348)... 23 more
0 0
- java.lang.RuntimeException翻译
- java.lang.RuntimeException: NYI
- java.lang.RuntimeException: Stub!
- java.lang.runtimeexception
- java.lang.RuntimeException nativeLibraryDirectories
- java.lang.RuntimeException
- java.lang.RuntimeException
- java.lang.RuntimeException: startPreview failed
- java.lang.RuntimeException: setAudioSource failed.
- java.lang.RuntimeException: start failed.
- java.lang.RuntimeException: startPreview failed
- Junit java.lang.RuntimeException: Stub!
- java.lang.RuntimeException: setAudioSource failed.
- java.lang.RuntimeException: setAudioSource failed.
- java.lang.RuntimeException: HRegionServer Aborted
- java.lang.RuntimeException: stop failed.
- java.lang.RuntimeException: invoke method
- java.lang.RuntimeException: setParameters failed
- 性能分析与调优的原理
- OSI模型、网际网协议模型
- 酷炫动画----Twitter like(心形)动画实现及分析
- 位标识符
- 验证码无法显示报异常 Could not initialize class sun.awt.X11GraphicsEnvironment
- java.lang.RuntimeException
- Android Studio 快捷键(汇总)
- remove duplicates from sorted array
- VS快捷键和oracle PL/SQL Developer快捷键(常用快捷键)
- Mac OS X 系统清理
- 是用TextView显示当前系统时间(Handler方法)
- 活动安排问题 贪心算法
- leetcode--Combination Sum III
- windows 下安装BeautifulSoup