[jbosstools-issues] [JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime and Java 11
Stephane Bouchet (Jira)
issues at jboss.org
Wed Jan 29 11:33:53 EST 2020
[ https://issues.redhat.com/browse/JBIDE-26916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Bouchet updated JBIDE-26916:
-------------------------------------
Fix Version/s: 4.14.0.Final
(was: 4.14.0.AM1)
> 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.redhat.com/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
> Fix For: 4.14.0.Final
>
> 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. Error messages from the Problems view:
> * Missing artifact jakarta.jws:jakarta.jws-api:jar:2.1.0 pom.xml
> * The container 'Maven Dependencies' references non existing library '/Users/zcervink/.m2/repository/jakarta/jws/jakarta.jws-api/2.1.0/jakarta.jws-api-2.1.0.jar'
> * The project cannot be built until build path errors are resolved
> 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 used to testing when creating this JIRA):
> Version: 12.13.0.GA
> Build id: GA-v20191024-0752-B5215
> Build date: 20191024-0752
> h2. Red Hat CodeReady Studio (newest version used to testing when updating this JIRA):
> Version: 12.14.0.AM1
> Build id: AM1-v20191122-0713-B5330
> Build date: 20191122-0713
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jbosstools-issues
mailing list