Issue
I use netbeans 8.1 and glassfish 4.0.When I click persistence.xml-design tab,a warning appears like The project does not have the target server properly.Java persistence features are server-dependent ... So I don't use JPQL on persistence.xml
Any suggestion?
Solution
I found a solution for my QUESTION. If the project has a server, you will show your server to your ejb project. ejb projcet->properties->run and define your server.
Answered By - aysegulP
Answer Checked By - Senaida (JavaFixing Volunteer)