spring jndi NamingException: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context

前端 未结 2 1989
太阳男子
太阳男子 2021-02-20 18:34

My webapp with spring 3.2.4 is running fine. But when I start up it, I will get debug infos:

2014-05-20 11:11:47 DEBUG JndiTemplate:150 - Looking up JNDI object          


        
2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-20 19:14

    if you don't use any profiles or mbeans, just add following context-params to the web.xml as workaround (trick), hopefully there is someone can provide better solution than this ugly one.

      
        spring.profiles.active  
        dev  
      
      
        spring.profiles.default  
        dev  
    
      
        spring.liveBeansView.mbeanDomain  
        dev  
      
    

提交回复
热议问题