]
Josef Kopriva closed JBIDE-25578.
---------------------------------
Closing. Creating Dynamic web project and selecting Java 9 in project facets is working.
Dynamic Web Module is not part of Java EE 7 and it is not supported by WildFly and EAP.
Verified in:
Red Hat JBoss Developer Studio
Version: 11.3.0.AM1
Build id: AM1-v20180125-0740-B1898
Build date: 20180125-0740
Can't use WildFly 11 with JDK 9 and Dynamic Web Module 4
--------------------------------------------------------
Key: JBIDE-25578
URL:
https://issues.jboss.org/browse/JBIDE-25578
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server
Affects Versions: 4.5.2.Final
Reporter: Lukáš Valach
Assignee: Rob Stryker
Priority: Blocker
Fix For: 4.5.2.Final
WildFly 11 should support JDK 9 but it seems that DevStudio don't count with it. It
is not possible to choose WF 11 as a runtime when Java 9 is choosen in project facets.
Try this:
* Install and run JBT or DevStudio against Java 9
* create Dynamic Web Project
** choose WF 11 as target runtime
** click Finish
* right click on created project -> Properties -> Project Facets
* note that it is configured to use Java 1.8, not Java 9 and you are not able to select
Java 9.
* open Targeted Runtimes tab
* deselect WF 11 and click Apply
* open Project Facets tab
* now it is possible to choose Java 9, so do it, select Java 9 and click Apply
* open Targeted Runtimes tab
* Wildfly 11 isn't available, it is hidden.
The same problem is with Dynamic Web Module 4, it is not possible to use it with WF 11.