[jbosstools-issues] [JBoss JIRA] (JBIDE-26916) Dynamic Web Project shows errors after converting to maven project when using WildFly 18 as target runtime

Zbyněk Červinka (Jira) issues at jboss.org
Tue Oct 29 15:21:00 EDT 2019


     [ https://issues.jboss.org/browse/JBIDE-26916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zbyněk Červinka updated JBIDE-26916:
------------------------------------
    Steps to Reproduce: 
1) Add and configure 2 maven repositories (*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 settings CDI 2.0, Java 11, *WildFly 18 runtime*)
3) Convert the project to maven project
   - Right click -> Configure -> Convert to Maven Project
   - packaging = WAR
   - click *Finish*

4) On the next window all the  Maven Dependencies are GREEN TICKS, now click Finish
5) Now you see the following errors in the Problems view:
 !dynamic_web_project_after_converting_to_maven.png|thumbnail! 


  was:
1) Add and configure 2 maven repositories (*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 settings CDI 2.0, Java 11, WildFly 18 runtime)
3) Convert the project to maven project
   - Right click -> Configure -> Convert to Maven Project
   - packaging = WAR
   - click *Finish*

4) On the next window all the  Maven Dependencies are GREEN TICKS, now 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
> ----------------------------------------------------------------------------------------------------------
>
>                 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: dynamic_web_project_after_converting_to_maven.png
>
>
> h2. Basic information on this issue:
> - Issue appears only when using WildFly 18 as target runtime
> h2. Tested solution- insert the following dependency into the pom.xml and all the problem 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)



More information about the jbosstools-issues mailing list