Since you is using server= ' servlet ', make sure th

Source: Internet
Author: User

Com.alibaba.dubbo.rpc.RpcException:Since you is using server= ' servlet ', make sure that the ' ContextPath ' property starts With the path of external WebApp

at Com.alibaba.dubbo.rpc.protocol.rest.RestProtocol.doExport (restprotocol.java:104)

at Com.alibaba.dubbo.rpc.protocol.AbstractProxyProtocol.export (abstractproxyprotocol.java:69)

at Com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export (protocollistenerwrapper.java:56)

at Com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export (protocolfilterwrapper.java:55)

at Com.alibaba.dubbo.rpc.protocol$adpative.export (Protocol$adpative.java)

at Com.alibaba.dubbo.registry.integration.RegistryProtocol.doLocalExport (registryprotocol.java:153)

at Com.alibaba.dubbo.registry.integration.RegistryProtocol.export (registryprotocol.java:107)

at Com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export (protocollistenerwrapper.java:54)

at Com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export (protocolfilterwrapper.java:53)

at Com.alibaba.dubbo.rpc.protocol$adpative.export (Protocol$adpative.java)

at Com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol (serviceconfig.java:489)

at Com.alibaba.dubbo.config.ServiceConfig.doExportUrls (serviceconfig.java:285)

at Com.alibaba.dubbo.config.ServiceConfig.doExport (serviceconfig.java:246)

at Com.alibaba.dubbo.config.ServiceConfig.export (serviceconfig.java:145)

at Com.alibaba.dubbo.config.spring.ServiceBean.onApplicationEvent (servicebean.java:110)

at Org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent ( SIMPLEAPPLICATIONEVENTMULTICASTER.JAVA:96)

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:410)

at Org.springframework.web.context.ContextLoader.initWebApplicationContext (contextloader.java:306)

at org.springframework.web.context.ContextLoaderListener.contextInitialized (Contextloaderlistener.java : 112)

at Org.apache.catalina.core.StandardContext.listenerStart (standardcontext.java:3843)

at Org.apache.catalina.core.StandardContext.start (standardcontext.java:4342)

at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:791)

at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:771)

at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:525)

at Org.apache.catalina.startup.HostConfig.deployWAR (hostconfig.java:830)

at Org.apache.catalina.startup.HostConfig.deployWARs (hostconfig.java:719)

at Org.apache.catalina.startup.HostConfig.deployApps (hostconfig.java:490)

at Org.apache.catalina.startup.HostConfig.start (hostconfig.java:1149)

at Org.apache.catalina.startup.HostConfig.lifecycleEvent (hostconfig.java:311)

at Org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (lifecyclesupport.java:117)

at Org.apache.catalina.core.ContainerBase.start (containerbase.java:1053)

at Org.apache.catalina.core.StandardHost.start (standardhost.java:719)

at Org.apache.catalina.core.ContainerBase.start (containerbase.java:1045)

at Org.apache.catalina.core.StandardEngine.start (standardengine.java:443)

at Org.apache.catalina.core.StandardService.start (standardservice.java:516)

at Org.apache.catalina.core.StandardServer.start (standardserver.java:710)

at Org.apache.catalina.startup.Catalina.start (catalina.java:578)

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 Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:288)

at Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:413)

April 23, 2015 4:14:40 pm Org.apache.catalina.core.StandardContext Listenerstart

Severity: Exception sending context initialized event to listener instance of class Org.springframework.web.context.ContextLoad Erlistener

Com.alibaba.dubbo.rpc.RpcException:Since you is using server= ' servlet ', make sure that the ' ContextPath ' property starts With the path of external WebApp

at Com.alibaba.dubbo.rpc.protocol.rest.RestProtocol.doExport (restprotocol.java:104)

at Com.alibaba.dubbo.rpc.protocol.AbstractProxyProtocol.export (abstractproxyprotocol.java:69)

at Com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export (protocollistenerwrapper.java:56)

at Com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export (protocolfilterwrapper.java:55)

at Com.alibaba.dubbo.rpc.protocol$adpative.export (Protocol$adpative.java)

at Com.alibaba.dubbo.registry.integration.RegistryProtocol.doLocalExport (registryprotocol.java:153)

at Com.alibaba.dubbo.registry.integration.RegistryProtocol.export (registryprotocol.java:107)

at Com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export (protocollistenerwrapper.java:54)

at Com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export (protocolfilterwrapper.java:53)

at Com.alibaba.dubbo.rpc.protocol$adpative.export (Protocol$adpative.java)

at Com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol (serviceconfig.java:489)

at Com.alibaba.dubbo.config.ServiceConfig.doExportUrls (serviceconfig.java:285)

at Com.alibaba.dubbo.config.ServiceConfig.doExport (serviceconfig.java:246)

at Com.alibaba.dubbo.config.ServiceConfig.export (serviceconfig.java:145)

at Com.alibaba.dubbo.config.spring.ServiceBean.onApplicationEvent (servicebean.java:110)

at Org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent ( SIMPLEAPPLICATIONEVENTMULTICASTER.JAVA:96)

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:410)

at Org.springframework.web.context.ContextLoader.initWebApplicationContext (contextloader.java:306)

at org.springframework.web.context.ContextLoaderListener.contextInitialized (Contextloaderlistener.java : 112)

at Org.apache.catalina.core.StandardContext.listenerStart (standardcontext.java:3843)

at Org.apache.catalina.core.StandardContext.start (standardcontext.java:4342)

at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:791)

at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:771)

at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:525)

at Org.apache.catalina.startup.HostConfig.deployWAR (hostconfig.java:830)

at Org.apache.catalina.startup.HostConfig.deployWARs (hostconfig.java:719)

at Org.apache.catalina.startup.HostConfig.deployApps (hostconfig.java:490)

at Org.apache.catalina.startup.HostConfig.start (hostconfig.java:1149)

at Org.apache.catalina.startup.HostConfig.lifecycleEvent (hostconfig.java:311)

at Org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (lifecyclesupport.java:117)

at Org.apache.catalina.core.ContainerBase.start (containerbase.java:1053)

at Org.apache.catalina.core.StandardHost.start (standardhost.java:719)

at Org.apache.catalina.core.ContainerBase.start (containerbase.java:1045)

at Org.apache.catalina.core.StandardEngine.start (standardengine.java:443)

at Org.apache.catalina.core.StandardService.start (standardservice.java:516)

at Org.apache.catalina.core.StandardServer.start (standardserver.java:710)

at Org.apache.catalina.startup.Catalina.start (catalina.java:578)

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 Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:288)

at Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:413)


Since you is using server= ' servlet ', make sure th

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.