SSM+Mevan报JNDI lookup for name [spring.profiles.active] threw NamingException with message: Name [sp

来源:互联网 发布:js 继承 阮一峰 编辑:程序博客网 时间:2024/05/18 01:01

[org.springframework.jndi.JndiPropertySource]-[DEBUG] JNDI lookup for name [spring.profiles.default] threw NamingException with message: Name [spring.profiles.default] is not bound in this Context. Unable to find [spring.profiles.default].. Returning null.





但是我在项目中并没有配置jndi   也没找到他再那个地方,我所上网找了解决方案

要在web.xml中配置



原文章地址:

https://stackoverflow.com/questions/23750619/spring-jndi-namingexception-name-spring-livebeansview-mbeandomain-is-not-boun

<context-param>      <param-name>spring.profiles.active</param-name>      <param-value>dev</param-value>  </context-param>  <context-param>      <param-name>spring.profiles.default</param-name>      <param-value>dev</param-value>  </context-param><context-param>      <param-name>spring.liveBeansView.mbeanDomain</param-name>      <param-value>dev</param-value>  </context-param>  


阅读全文
0 0
原创粉丝点击