|
There are two possible use-cases when this occurs:
1) Your use-case where you have a hard dependency on LicenseAgreementManager. Without this component the application cannot work properly. In such case Weld should ideally fail the deployment immediately.
2) There is a component that is optional (e.g. integration with a templating library). In such case, if the component class cannot be loaded it is expected that Weld ignores the component instead of failing. Even ERROR/WARN log messages are not desired as it is a valid scenario.
Both these use-cases are valid but have contradictory implications. Since Weld cannot distinguish between these two use-cases, it always produces INFO messages. This does not prevent the (2) use-case while providing at least some information for people with (1) use-case.
|