apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.64k stars 848 forks source link

Internal servers from Spring-boot (JDK 20) #6158

Open diana200 opened 1 year ago

diana200 commented 1 year ago

Apache NetBeans version

Apache NetBeans 18

What happened

Hello! I couldn't find the right configuration for Netbeans 18 to make the project run on any of the embedded servers from java framework named "spring-boot".

How to reproduce

Install Netbeans 18 and JDK 20 on windows 11. Generate simple spring-boot project using generator from https://start.spring.io/. The project has the following configuration: java language, Maven, Spring Boot 3.2.0, war packaging, Java 20, Spring Web dependency.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 11

JDK

20

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

The problem happens all the time.

Are you willing to submit a pull request?

No

asbachb commented 1 year ago

Can you share a screenshot or an error message. Your error description is a little bit too broad.

I tried to generate a project based on your description, but already failed on launching DemoApplication class. Is that the problem you describe?

In general I'd give it a try with most recent Java LTS version which is 17.