i am developing a j2ee application using mysql database and netbeans ide.
created a login page and trying to establish a connection with the database and validating the user.
When trying to deploy the application, getting the following error
Undeployment of component failed. Application is referenced by server and must be referenced by no server instances or clusters