java - Issue Glassfish 4 doesn't appear glassfish-web -


i'm trying create descriptor file java web application project. project using:

netbeans 8.0 & glassfish 4 

when try create glassfish descriptor file. netbeans shows dialog window going create file called sun-web.xml instead of glassfish-web.xml.

i looking on internet , found first 1 sun-web.xml created version older 3, , version 4 should create file name glassfish-web.xml.

i'm following tutorial person using same tools have. in tutorial can create glassfish-web.xml file.

another error raise when click finish button intention of create sun-web.xml file , error popup raise show me message:

"deployment configuration project not found. deployment descriptor version not set properly"

can't me please ???

thank lot!!

you should able use sun-web.xml file fine, might change in couple of ways example when want add security role mapping, netbeans won't able automatically fill in security role names web.xml, if fill them in manually , correctly should fine.

actually, had same problem, did erase versions of glassfish (i use osx erased folders applications > netbeans > glassfish , users/myuser/glassfish_server), added new server in netbeans services > servers > right click add server , follow wizard, when step 2 (server location) click download , reinstall glassfish, restart netbeans , when try create glassfish descriptor should named glass fish-web.xml

hope helps :)


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -