Re: Something strange... any ideas?

ArbolOneEnterprise <[email protected]> Fri, 25 Jul 2025 07:29:42 -0400
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <BYAPR12MB280881EAF9A130BF9546A57EBA59A@BYAPR12MB2808.namprd12.prod.outlook.com>
How do I go about contacting the email manager?
I have not received confirmation regarding my subscription.
If I am already registered, I cannot see my email on my computer email 
reader, but it is in the list archive?

On 7/24/2025 11:36 AM, Samson Chung wrote:
>
> Yes, that was already unzipped. I didn’t use it ‘as a zip’ file…
>
> Basically, it is just Spring boot… For some strange reasons, the 
> Netbeans picked up it is Maven and started downloading the required 
> sources. So from that point of view, it is ‘working as expected’.
>
> I can’t seem to get it to run. From what I can tell, that is a string 
> replacement that failed at some point during runtime.
>
> I always assumed NetBeans routed the commands to the console.
>
> Due to my current time limitations, I am switching over to IntelliJ 
> for now, if anyone have any ideas, I’d be happy to come back to 
> NetBeans. 😊 After all, I’ve been using NetBeans for over 15 years.
>
> Stay Safe!
>
> ______________________
>
> Samson Chung
>
> *From:*Stephen Parry <[email protected]>
> *Sent:* Wednesday, July 23, 2025 6:39 AM
> *To:* [email protected]
> *Subject:* Re: Something strange... any ideas?
>
> [EXTERNAL EMAIL - USE CAUTION. This email is not from Durham College 
> or Ontario Tech. Do not click links, open attachments, or reply, 
> unless you recognize the sender's email address and know the content 
> is safe!]
>
> I have not used a Spring boot zip before, but my guess is that it will 
> need extracting before opening or importing rather than just opening. 
> Opening, especially on Windows, will end up using the OS built-in zip 
> folder handling, which does not work for Netbeans projects. Did you 
> use File -> Import from Zip?
>
> On 22 July 2025 20:53:52 BST, Samson Chung 
> <[email protected]> wrote:
>
>     Guys,
>
>     I am on my path to relearn Spring MVC, etc… and I ran into
>     something weird.
>
>     As someone suggested, I went to Spring initializr to generate a
>     SpringBoot zip, and open it Netbeans, which was detected as a
>     Maven project.
>
>     With extremely minor changes, such adding the following lines to
>     the application class
>
>     @RestController
>
>     …
>
>     @GetMapping(“/hello”)
>     public String hello () {
>
>     Return “hey”;
>
>     }
>
>     Within Netbeans, I would end up getting:
>
>     Error: Could not find or load main class ${start-class} Caused by:
>     java.lang.ClassNotFoundException: ${start-class} Command execution
>     failed. org.apache.commons.exec.ExecuteException: Process exited
>     with an error: 1 (Exit value: 1)
>
>     But… if I were to do this in IntelliJ community edition, it works
>     and deployed immediately using Spring’s Built-in internal tomcat
>     server.
>
>     Any ideas on why?
>
>     Stay Safe!
>
>     ______________________
>
>     Samson Chung
>
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>