Closed rucko24 closed 1 month ago
Any ideas ? this was working perfectly fine actually, but when the production .jar is created with mvn clean install it fails to read the ports.
mvn clean install
I have attached an example .zip below.
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.2.7</version> </parent>
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.3.4</version> <relativePath/> <!-- lookup parent from repository --> </parent>
Windows 10 Pro Edition Version 22H2 Installed on 07/24/2024 Operating System Build 19045.4894 Windows Feature Experience Pack 1000.19060.1000.0
Always return 0 ports
demo.zip
Solved, the detail was that I was making the execution of the .jar in wsl, and for some reason it did not recognize the ports possibly.
wsl
Any ideas ? this was working perfectly fine actually, but when the production .jar is created with
mvn clean install
it fails to read the ports.I have attached an example .zip below.
Always return 0 ports
demo.zip