Constraints for Glassfish Deployment Descriptors Files 9 have not been met: How to fix

You are probably working with Java EE and Eclipse and you get an error message that says your constraints for Glassfish Deployment Descriptors Files 9 has not been met.  Here is the fix.

First of all this seems to be a cryptic message.  It really should read: This project includes a facet which is named “Glassfish deployment descriptors files”.  This facet has some dependencies yet you have not selected these dependencies.

The fix is simply to add the dependencies.

If you are trying to create a project, and get this message, click on the Modify button next to the Glassfish thingy and then find out what’s missing.  For my case, I just clicked on EJB module.  You may need to click on something else that makes more sense to you.

If you fix this, send some luv, and give me a thanks. 🙂

Advertisements

About SunKing2

Former web developer, guitar player, started Piano 2012 -yes still doing it! Recovery, sobriety, mental health advocate.
This entry was posted in Uncategorized. Bookmark the permalink.

10 Responses to Constraints for Glassfish Deployment Descriptors Files 9 have not been met: How to fix

  1. Anonymous says:

    Thanks!

  2. Julio says:

    Thanks!!!! you saved my night

  3. Anonymous says:

    thanks..good reply and very helpful too..

  4. redbaron says:

    super!! thanks. good post. just to the point.

  5. Anonymous says:

    thanks! EJB was missing for me too!

  6. Jim says:

    Why isn’t this selected by default ?

  7. Anonymous says:

    You are great!!!
    Thank you 🙂

  8. Fab says:

    thanks… it was missing CDI.. the Error Message sucks !
    Luv 😉
    Fab

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s