• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting :"|SEVERE|glassfish3.1.2||No valid EE environment for injection of <classname>"in server.log

 
shiva kanupuri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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.
 
Michael A Hoffman
Ranch Hand
Posts: 37
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you check the installed features for Glassfish? By some chance, is it set as JavaEE 5?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic