[JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26916:
------------------------------------
Description:
h2. Basic information on this issue:
- Issue appears only when using WildFly 18 as target runtime and Java 11 (see the 'Steps to reproduce' section and printscreens in the attachment)
- Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
{code:java}
<dependency>
<groupId>jakarta.jws</groupId>
<artifactId>jakarta.jws-api</artifactId>
<version>1.1.1</version>
</dependency>
{code}
h2. Red Hat CodeReady Studio version:
Version: 12.13.0.GA
Build id: GA-v20191024-0752-B5215
Build date: 20191024-0752
was:
h2. Basic information on this issue:
- Issue appears only when using WildFly 18 as target runtime and Java 11
- Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
{code:java}
<dependency>
<groupId>jakarta.jws</groupId>
<artifactId>jakarta.jws-api</artifactId>
<version>1.1.1</version>
</dependency>
{code}
h2. Red Hat CodeReady Studio version:
Version: 12.13.0.GA
Build id: GA-v20191024-0752-B5215
Build date: 20191024-0752
> Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26916
> URL: https://issues.jboss.org/browse/JBIDE-26916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.13.0.AM1
> Environment: All OSes
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: RHCRS_preferences.png, dynamic_web_project_after_converting_to_maven.png, new_server_settings.png, project_facets_when_creating_the_project.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime and Java 11 (see the 'Steps to reproduce' section and printscreens in the attachment)
> - Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
> h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
> {code:java}
> <dependency>
> <groupId>jakarta.jws</groupId>
> <artifactId>jakarta.jws-api</artifactId>
> <version>1.1.1</version>
> </dependency>
> {code}
> h2. Red Hat CodeReady Studio version:
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26916:
------------------------------------
Attachment: (was: RHCRS_preferences.png)
> Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26916
> URL: https://issues.jboss.org/browse/JBIDE-26916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.13.0.AM1
> Environment: All OSes
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: RHCRS_preferences.png, dynamic_web_project_after_converting_to_maven.png, new_server_settings.png, project_facets_when_creating_the_project.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime and Java 11
> - Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
> h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
> {code:java}
> <dependency>
> <groupId>jakarta.jws</groupId>
> <artifactId>jakarta.jws-api</artifactId>
> <version>1.1.1</version>
> </dependency>
> {code}
> h2. Red Hat CodeReady Studio version:
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26916:
------------------------------------
Steps to Reproduce:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
* !RHCRS_preferences.png|thumbnail!
* !new_server_settings.png|thumbnail!
* !project_facets_when_creating_the_project.png|thumbnail!
was:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
!RHCRS_preferences.png|thumbnail!
!new_server_settings.png|thumbnail!
!project_facets_when_creating_the_project.png|thumbnail!
> Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26916
> URL: https://issues.jboss.org/browse/JBIDE-26916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.13.0.AM1
> Environment: All OSes
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: RHCRS_preferences.png, dynamic_web_project_after_converting_to_maven.png, new_server_settings.png, project_facets_when_creating_the_project.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime and Java 11
> - Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
> h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
> {code:java}
> <dependency>
> <groupId>jakarta.jws</groupId>
> <artifactId>jakarta.jws-api</artifactId>
> <version>1.1.1</version>
> </dependency>
> {code}
> h2. Red Hat CodeReady Studio version:
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26916:
------------------------------------
Steps to Reproduce:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
* !RHCRS_preferences.png|thumbnail!
* !new_server_settings.png|thumbnail!
* !project_facets_when_creating_the_project.png|thumbnail!
was:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
* !RHCRS_preferences.png|thumbnail!
* !new_server_settings.png|thumbnail!
* !project_facets_when_creating_the_project.png|thumbnail!
> Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26916
> URL: https://issues.jboss.org/browse/JBIDE-26916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.13.0.AM1
> Environment: All OSes
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: RHCRS_preferences.png, dynamic_web_project_after_converting_to_maven.png, new_server_settings.png, project_facets_when_creating_the_project.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime and Java 11
> - Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
> h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
> {code:java}
> <dependency>
> <groupId>jakarta.jws</groupId>
> <artifactId>jakarta.jws-api</artifactId>
> <version>1.1.1</version>
> </dependency>
> {code}
> h2. Red Hat CodeReady Studio version:
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26916:
------------------------------------
Steps to Reproduce:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
!new_server_settings.png|thumbnail!
!project_facets_when_creating_the_project.png|thumbnail!
was:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
!new_server_settings.png|thumbnail!
!project_facets_when_creating_the_project.png|thumbnail!
> Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26916
> URL: https://issues.jboss.org/browse/JBIDE-26916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.13.0.AM1
> Environment: All OSes
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: RHCRS_preferences.png, RHCRS_preferences.png, dynamic_web_project_after_converting_to_maven.png, new_server_settings.png, project_facets_when_creating_the_project.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime and Java 11
> - Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
> h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
> {code:java}
> <dependency>
> <groupId>jakarta.jws</groupId>
> <artifactId>jakarta.jws-api</artifactId>
> <version>1.1.1</version>
> </dependency>
> {code}
> h2. Red Hat CodeReady Studio version:
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26916:
------------------------------------
Attachment: RHCRS_preferences.png
> Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26916
> URL: https://issues.jboss.org/browse/JBIDE-26916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.13.0.AM1
> Environment: All OSes
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: RHCRS_preferences.png, RHCRS_preferences.png, dynamic_web_project_after_converting_to_maven.png, new_server_settings.png, project_facets_when_creating_the_project.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime and Java 11
> - Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
> h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
> {code:java}
> <dependency>
> <groupId>jakarta.jws</groupId>
> <artifactId>jakarta.jws-api</artifactId>
> <version>1.1.1</version>
> </dependency>
> {code}
> h2. Red Hat CodeReady Studio version:
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26916:
------------------------------------
Steps to Reproduce:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
!RHCRS_preferences.png|thumbnail!
!new_server_settings.png|thumbnail!
!project_facets_when_creating_the_project.png|thumbnail!
was:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
!new_server_settings.png|thumbnail!
!project_facets_when_creating_the_project.png|thumbnail!
> Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26916
> URL: https://issues.jboss.org/browse/JBIDE-26916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.13.0.AM1
> Environment: All OSes
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: RHCRS_preferences.png, RHCRS_preferences.png, dynamic_web_project_after_converting_to_maven.png, new_server_settings.png, project_facets_when_creating_the_project.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime and Java 11
> - Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
> h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
> {code:java}
> <dependency>
> <groupId>jakarta.jws</groupId>
> <artifactId>jakarta.jws-api</artifactId>
> <version>1.1.1</version>
> </dependency>
> {code}
> h2. Red Hat CodeReady Studio version:
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26916:
------------------------------------
Steps to Reproduce:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
For more information about used settings to reproduce this issue see the 3 following printscreens:
was:
1) Add and configure 2 maven repositories to the RHCRS (*Preferences -> JBoss Tools -> JBoss Maven Integration -> Configure Maven Repositories...*):
- *ID:* jboss-public-repository
- *Name:* JBoss Public
- *URL:* https://repository.jboss.org/nexus/content/groups/public-jboss/
- *ID:* jboss-maven-repository
- *Name:* jboss-maven-repository
- *URL:* https://repository.jboss.org/maven2/
2) Create new Dynamic Web Project (use *WildFly 18 runtime*, Java 11 and CDI 2.0)
3) Convert the project to maven project
- right click on the project -> Configure -> Convert to Maven Project
- packaging = WAR
- click *Finish*
4) On the next window wait untill all the Maven Dependencies become GREEN TICKS, then click Finish
5) Now you see the following errors in the Problems view:
!dynamic_web_project_after_converting_to_maven.png|thumbnail!
> Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26916
> URL: https://issues.jboss.org/browse/JBIDE-26916
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.13.0.AM1
> Environment: All OSes
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: RHCRS_preferences.png, dynamic_web_project_after_converting_to_maven.png, new_server_settings.png, project_facets_when_creating_the_project.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime and Java 11
> - Issue does not appear on WildFly 16 and on WildFly 17 (tested on both Java 8 and 11; this issue has not appeared even if I have mixed Java version settings in workspace/server runtime JRE/Project fFacets, no issue for any combination)
> h2. Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
> {code:java}
> <dependency>
> <groupId>jakarta.jws</groupId>
> <artifactId>jakarta.jws-api</artifactId>
> <version>1.1.1</version>
> </dependency>
> {code}
> h2. Red Hat CodeReady Studio version:
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month