apache / apache/netbeans

NetBeans 19 cannot Run ear project on WildFly 29

Open
#6,491 8 comments 0 reactions 0 assignees View on GitHub
Java EE/Jakarta EE kind:bug
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 19

### What happened

Right-click on an ear-project will open the "Select deployment sever" as usual but the WildFly 29 server is not present in the Server list.

I manually added WildFly to the nb-configuration.xml file of the ear, ejb and web modules. It didn't make much of a difference. I still cannot run the ear project. Now, in the Run category of the ear project properties, Server is WildFly, but its Java EE Version is listed as Java EE 8 instead of 10; in the EJB module is even worse, it says Java EE 6; but in the Web module it does say Java EE 10 Web.

### How to reproduce

Install WildFly 29 and add it to servers; then try do run an ear project on it.

### Did this work correctly in an earlier version?

Apache NetBeans 17

### Operating System

Windows 11

### JDK

17 for NetBeans and WildFly

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with Apache NetBeans 19, WildFly 29, and the EAR, EJB, and web modules, then inspect the server selection and Java EE version values in the project properties. Check the generated nb-configuration.xml entries; done means WildFly appears for the EAR project and the module versions consistently report Java EE 10 so the project can run.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.