javax.naming.NameNotFoundException: Name spring.liveBeansView.mbeanDomain is not bound in this Conte

javax.naming.NameNotFoundException: Name spring.liveBeansView.mbeanDomain is not bound in this Context 的异常是没有找到部分配置引起的,需要在web.xml文件里面添加配置:

<context-param>  

    <param-name>spring.profiles.activeparam-name>  

    <param-value>devparam-value>  

context-param>  

<context-param>  

    <param-name>spring.profiles.defaultparam-name>  

    <param-value>devparam-value>  

context-param>  

<context-param>  

    <param-name>spring.liveBeansView.mbeanDomainparam-name>  

    <param-value>devparam-value>  

context-param>

你可能感兴趣的:(javax.naming.NameNotFoundException: Name spring.liveBeansView.mbeanDomain is not bound in this Conte)