Memoirs of Fls'Zen

Thursday, May 13, 2010


GlassFish errors are the best. The purpose of this post is to help others looking for reasons why they are receiving the following error while trying to deploy a Java EE 6 WAR file to Glassfish v3.

com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.jboss.weld.servlet.WeldListener

In my case, it was because I had forgotten to configure a JavaMail Session JNDI entry on the server. It's a good thing the error message says nothing about which injection failed.



Post a Comment

Subscribe to Post Comments [Atom]

<< Home