error
***************************
APPLICATION FAILED TO START
***************************
Description:
Field environment in com.xxx.Environment required a bean of type 'org.springframework.core.env.Environment' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.core.env.Environment' in your configuration.
fix
原因是有bean命名为environment跟spring的重复了,需要改一下
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。