How to rectify module deployment error while using GlassFish Server?

后端 未结 3 878
不思量自难忘°
不思量自难忘° 2021-01-14 09:17

How to rectify module deployment error while using GlassFish Server?

While trying to run jsf web-application in Netbeans8 I am getting the following error:

3条回答
  •  独厮守ぢ
    2021-01-14 09:54

    after a whole day solving this problem on my own, because nobody's answer was usefull for me on internet, I found following:

    1. don't try to use different web server (I tried wildfly), it wont help.

    2. give glassfish folder permission to write (I mean the folder with version in name)

    3. restart pc to shut down all (or the) running server

    4. after my restart, I got still the same error during developing build-impl.xml:1045: The module has not been deployed., but now there was different error in server log - java.lang.IllegalArgumentException: Invalid URL Pattern: [{0}].

    5. Then I realised that my problem was in web.xml file, where I tried to set different welcome page. All other projects with this file untouched were working (developing, running) properly

    so this was my story of waisting whole day - check your web.xml file

提交回复
热议问题