3

I am trying to use glassfish4 with eclipse-neon but when i try to add server it gives me following error. I am new to eclispe so i don't know much about it Screenshot of error

Muh. Abdullah
  • 51
  • 1
  • 6

2 Answers2

6

You need to add GlassFish into your runtime first before you create GlassFish server, go eclipse window menu -> preference:

enter image description here

Sam YC
  • 10,725
  • 19
  • 102
  • 158
1

I have experienced same issue.
Save the server configuration first without deployment artifact. Then on the right click of the server in the server window add artifact.

NatashaK
  • 31
  • 3
  • Hm, I did not see the problem correctly - but if you have a problem with adding an artifact on server creation this above answer will work. – NatashaK Oct 17 '18 at 07:53