Today I’m hit with the issue that Spring whines about the exception, “No Scope registered for scope 'request',” when I try to run tests with request scoped bean. Fortunately the fix is fairly easy.
One problem I have lately is with the use of Spring-managed transaction on GlassFish. The official tutorial article is helpful to a certain point, but does not answer the problem with the use of @PersistenceContenxt annotation on GlassFish.