You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't tested your suggestion, but looking back at the documentation the property was referenced by both as spring.active.profiles and spring.profiles.active so this is 99.9% sure to be the problem.
I have submitted a pull request with a documentation change. #37
I have two different implementations of a service interface X, each are annotated respectively with @service and @Profile (A and B respectively).
Another service Y has X injected.
application.properties has a property
spring.active.profiles=A
On start up neither service implementation is constructed and results in a failure to Autowire into service Y.
Not sure whether this is an error on my part or a bug in the spring boot code.
Thanks
Adrian
The text was updated successfully, but these errors were encountered: