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)
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
Tested solution - insert the following dependency into the pom.xml and all the problems in the Problems view disappear
<dependency> <groupId>jakarta.jws</groupId> <artifactId>jakarta.jws-api</artifactId> <version>1.1.1</version> </dependency>
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
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
- causes
-
JBIDE-26900 Several maven.itests are failing on Java 11 due to some timeouts
-
- Closed
-
-
JBIDE-27675 Fix the failing maven itest
-
- Open
-
jkopriva@redhat.com I have reproduced this issue again, this time without adding the repos. I got the same error messages captured on the following printscreen (screen included in the description of this JIRA since I have created this JIRA):
By the way, jkopriva@redhat.com, you metioned, that you get more error including Missing artifact jakarta.jws:jakarta.jws-api:jar:2.1.0. This error I got since the beginning of investigation of this issue, the error message is captured on the above added printscreen. I am going to add the error messages to the description of this issue to make the messages searchable, not just captured on image.
Additional info:
The solution to this issue (adding dependency to the pom.xml) mentioned in the description of this JIRA is still valid, tested in the following 2 devstudios:
Red Hat CodeReady Studio (same version as it was used when creating this JIRA):
Version: 12.13.0.GA
Build id: GA-v20191024-0752-B5215
Build date: 20191024-0752
Red Hat CodeReady Studio (todays devstudio, newest version):
Version: 12.14.0.AM1
Build id: AM1-v20191122-0713-B5330
Build date: 20191122-0713