Integrating Glassfish in Eclipse for Java EE

后端 未结 3 601
闹比i
闹比i 2021-01-07 00:22

I am using Eclipse for Java EE. I have installed Java EE SDK that include Glassfish server. But I do not see Glassfish in the list of servers when creating a web project. Ho

3条回答
  •  粉色の甜心
    2021-01-07 00:42

    Eclipse does indeed not ship with a Glassfish plugin out the box. You need to install it separately. It's quite simple, just click the link Download additional server adapters in the New Server wizard.

    enter image description here

    Wait for the list to be populated and finally pick Oracle Glassfish Server Tools.

    enter image description here

    After a restart it'll be available among the options.

    enter image description here

    (those screenshots are borrowed from this JSF 2.0 tutorial on Eclipse + Glassfish)

提交回复
热议问题