編程生活

             :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            113 隨筆 :: 0 文章 :: 18 評(píng)論 :: 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

            見(jiàn):
            http://stackoverflow.com/questions/17204096/glassfish-server-library-not-available-in-eclipse-kepler
          posted on 2013-08-14 09:27 wilesun 閱讀(663) 評(píng)論(0)  編輯  收藏

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 成安县| 迁安市| 永善县| 台南市| 蒲江县| 德阳市| 尖扎县| 岑巩县| 隆子县| 高唐县| 高密市| 黑龙江省| 达拉特旗| 赤峰市| 九龙坡区| 砚山县| 灌南县| 翼城县| 邻水| 英超| 广安市| 澎湖县| 天门市| 普兰县| 吉林省| 湘潭县| 昭苏县| 晋中市| 龙海市| 西宁市| 疏附县| 盐城市| 长乐市| 保康县| 涟源市| 灌云县| 衡水市| 同仁县| 嘉鱼县| 渑池县| 博客|