glassfish下的Eclipse的wtp插件的server runtime library问题

glassfish下的Eclipse的wtp插件的server runtime library问题

See the thread GlassFish Tools does not provide a Server Runtime for Java Build Path in the Oracle forum.

Summary: They no longer provide a "Server Runtime" for plain Java projects. Instead, the project needs to be a faceted project and have a target runtime.

To configure this, do the following:

  1. Go to the project properties > Project Facets
  2. If necessary, click on Convert to faceted form...
  3. In the Runtimes tab, select GlassFish 3.1

In case you need to export the GlassFish libraries to dependent projects, also do the following:

  1. In Project Facets properties, select Utility Module and click Apply
  2. In Java Build Path > Order and Export, select GlassFish System Libraries

    见:
    http://stackoverflow.com/questions/17204096/glassfish-server-library-not-available-in-eclipse-kepler

你可能感兴趣的:(glassfish下的Eclipse的wtp插件的server runtime library问题)