编程生活

   :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  113 随笔 :: 0 文章 :: 18 评论 :: 0 Trackbacks

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
posted on 2013-08-14 09:27 wilesun 阅读(641) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: