[
https://issues.apache.org/jira/browse/NETBEANS-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406290#comment-17406290
]
Geertjan Wielenga commented on NETBEANS-5960:
---------------------------------------------
OK, I'm going to provide you with the numbered steps, which work, please follow
the below and confirm:
1. Open your project into Apache NetBeans 12.4 (look in the title bar and in
the About box to confirm you are actually using 12.4).
2. Right-click the project and choose Run.
3. You'll see content in the Output window, ending with this:
2021-08-28 21:11:46.662 INFO 28488 --- [ main]
c.l.s.d.s.SpringbootDemoApplication : Started SpringbootDemoApplication in
6.304 seconds (JVM running for 6.576)
4. Open the browser and go to http://localhost:8080.
5. In the browser you will now see this:
Hello world of Spring! Time on server is 2021-08-28T21:12:27.429932
6. In the Output window, click the red button (when you hover over it, this
button says "Stop the currently executing build".
7. On line 21 of FunRestController.java, change line 21 to the following:
return "Hello!!!" + LocalDateTime.now();
8. Right-click the project and choose Run.
9. Look in the Output window and see the last line says:
2021-08-28 21:15:12.898 INFO 28588 --- [ main]
c.l.s.d.s.SpringbootDemoApplication : Started SpringbootDemoApplication in
6.265 seconds (JVM running for 6.514)
10. Refresh the browser and you will see this:
Hello!!!2021-08-28T21:17:29.133159
> Problem Running a SpringBoot Application
> ----------------------------------------
>
> Key: NETBEANS-5960
> URL: https://issues.apache.org/jira/browse/NETBEANS-5960
> Project: NetBeans
> Issue Type: Bug
> Components: javaee - Spring
> Affects Versions: 12.0, 12.4
> Reporter: Egor
> Assignee: Egor
> Priority: Minor
> Attachments: screenshot.2021-08-28.png.png.png
>
>
> I'm trying to run a demo Spring Boot project. When I press the Run button, it
> first starts producing some output in the Run window, but then it freezes.
> Now it's been frozen for about an hour. I mean the interface responds, but
> the build is completely stuck. What info do I need to provide for you to fix
> this?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists