The Eclipse plugin cannot communicate with the GlassFish server, status is :CREDENTIAL_ERROR

后端 未结 9 407
别那么骄傲
别那么骄傲 2021-01-03 00:42

I am able to start Glassfish through command line. However, when I try to start the server through Eclipse I encounter the following error:

The Ecli

9条回答
  •  孤城傲影
    2021-01-03 01:11

    As has been stated a few times here, the port conflict will cause this. I found that I could not edit the port information in Eclipse, I had to edit the domain.xml file. I searched for 8080, which took me straight to the tag. In here, i changed http-listener-1 form 8080 to 8000.

    I then had to remove the GlassFish Server from the Servers tab in eclipse, and re-add it back. (this was many times faster than restarting Eclipse). now the new port is identified, and I was able to start GlassFish server.

    Note: I am using the Oracle Enterprise Pack for Eclipse, not the generic eclipse plug-in.

提交回复
热议问题