Cannot start GlassFish 4.1 from within Netbeans 8.0.1 Service area

前端 未结 10 836
离开以前
离开以前 2020-12-28 18:07

On Windows 7 I downloaded the \'netbeans-8.0.1-javaee-windows.exe\' installer from this site https://netbeans.org/downloads/. The installer installs GlassFish 4.1, Java 1.8.

10条回答
  •  伪装坚强ぢ
    2020-12-28 18:55

    Following are the steps that will definitely work:

    1. Open CMD : Press Windows+R from keyboard or just type "cmd" in windows search
    2. Type Following in cmd : netstat -aon | find ":8080" | find "LISTENING"
    3. See the last column : There will be some number like 2816 or similar.(It will differ from this)
    4. Now open Task Manager (Keyboard shortcut : Ctrl+Shift+Esc)
    5. In that, go to Details Tab and under PID Column, search for the number you found in step 3
    6. Right Click on it and select end process
    7. Now happily go to Netbeans and Run your program

    NOTE : If you are running your program for the first time in Netbeans, it takes some time. So don't worry if it takes time.

提交回复
热议问题