You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Geertjan Wielenga (JIRA)" <ji...@apache.org> on 2019/02/26 13:16:00 UTC
[jira] [Commented] (NETBEANS-2170) Error selecting the java
platform in a Java EE web project (maven)
[ https://issues.apache.org/jira/browse/NETBEANS-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16777898#comment-16777898 ]
Geertjan Wielenga commented on NETBEANS-2170:
---------------------------------------------
The question we need to answer is whether GlassFish should be able to work on JDK 12, i.e., or anything higher than JDK 8.
> Error selecting the java platform in a Java EE web project (maven)
> ------------------------------------------------------------------
>
> Key: NETBEANS-2170
> URL: https://issues.apache.org/jira/browse/NETBEANS-2170
> Project: NetBeans
> Issue Type: Bug
> Components: javaee - Web Project
> Affects Versions: 11.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-384-on-20190213)
> Java: 12; OpenJDK 64-Bit Server VM 12+32
> Runtime: OpenJDK Runtime Environment 12+32
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> Reporter: Giuseppe Tino
> Priority: Major
>
> Following the NetCat test:
> [https://netbeans-vm.apache.org/synergy/client/app/#/assignment/2381/v/1
> ]I try to run the web application (note, only the JDK 12 platform is configured on Netbeans).
>
> Steps:
> # I click on the Run Project Button
> Expected: Glassfish run and the example webpage appears on my browser
> # A popup appears saying:
> "Glassfish server could not be started with JDK12 (default) please select another JavaSE platform".
> There is a dropdown that allows to select other JDKs but it doesn't contain any alternative.
> There is a button "Manage platform" that can be used to configure other java platforms.
> # I select Manage platform button and add JDK11
> Expected: JDK 11 is selectable in the popup displayed at step 2
> Actual: The dropdown menu is still empty and it is not possible to select a java platform
> # Click on cancel to close the popup
> # Right click on the webapplication root node in the project view
> # Select properties > build > compile
> On the right part of the panel JDK12(default) is selected as java platform
> # From the dropdown menu change the selection to JDK11
> The changes are not taken in account, when I click on run the same popup says me that glassfish can not be started with jdk 12
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists