classloader - CDI behaviour on classes with same canonical name -
for simple classes, happens use class loading overwrite class in jar file (eg. fix bug). creating identical class (same package, same name) in application, resulting in class being used instead of 1 in jar. anyway, works well.
however, cdi, it's different story. when bean @named , weld tells me bean name ambiguous. i'm using @named same name on own definition, results in problem.
is there way how avoid conflict , retain duplicated classes?
Comments
Post a Comment