问题
I have previously installed Glassfish and been using it with Netbeans. I have decided to switch to Eclipse. Now, I have installed Eclipse. When creating a new Dynamic Web Project, it does not show Glassfish, so I installed plugins for it but what it does is to install a new Glassfish server.
How will I tell eclipse that I have already a Glassfish server and point it to that?
回答1:
You can register a server in the Preferences---> Server---> Runtime Environments .
The main point is that you should install The server adapter for Glassfish in order to integrate the glassfish to the eclipse . You can refer here , and here for the tutorial.
来源:https://stackoverflow.com/questions/7187090/how-to-register-existing-glassfish-server-in-eclipse