Getting :"|SEVERE|glassfish3.1.2||No valid EE environment for injection of <classname>"in server.log
posted 3 years ago
Our application is written in EJB and We are getting a warning as follows in the server.log:
"2014-02-10T06:14:15.340+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=60;_ThreadName=Thread-2;|No valid EE environment for injection of <classname>" we have used @inject for CDI. Please let me know why we are getting this issue? Anyone please help me in resolving this issue.