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
The condition can't be put in places where the JVM may have loaded the class and look at method definitions.
A typical use case is a @Bean method that returns something and that something may not be on the classpath. Using the condition on the method will be useless as the JVM will load the class before the condition kicks in.
It would be nice to update both the ref guide and the javadoc.
The text was updated successfully, but these errors were encountered:
The documentation update wasn't nearly specific enough to be useful. This is still a painful problem to discover and diagnose. Can a clarification of "Extra care" be provided similar to the solution described in the doc?
The condition can't be put in places where the JVM may have loaded the class and look at method definitions.
A typical use case is a
@Bean
method that returns something and that something may not be on the classpath. Using the condition on the method will be useless as the JVM will load the class before the condition kicks in.It would be nice to update both the ref guide and the javadoc.
The text was updated successfully, but these errors were encountered: