The @New qualifier, which was deprecated in CDI 1.1, is no longer available in CDI 4.0.
The @New qualifier on an injection point allowed the application to obtain a new instance of a bean which was not bound to the declared scope,
but had dependency injection performed.
The recommended alternative is to remove the qualifier from the injection point and declare the bean scope as @Dependent
if they require equivalent injection semantics.
For more information:
For more Jakarta 10 migration information, see Differences between Jakarta Contexts and Dependency Injection 4.0 and 3.0.