Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » HelloScout not working with Eclipse 2023-09
HelloScout not working with Eclipse 2023-09 [message #1861200] Thu, 28 September 2023 20:00 Go to next message
Michel R is currently offline Michel RFriend
Messages: 46
Registered: April 2015
Member
Hello, Thank you for the new 23.2 version !

However I don't know if it is my installation or what, but I can't make the helloscout application work with Eclipse 2023-09 and the template #23.2.2 or #23.2.4 (those available under Eclipse when creating a new Scout project).

Here is what I do:
- start Eclipse 2023-09
- create 'helloscout2324' project with the template 23.2.4
- Eclipse builds the thing
- Run the combo "js build" + server + client
- Some stuff is done by the script then the server and client application are started by jetty
- Connect to http://localhost:8082/
- I get this error in my browser :
HTTP ERROR 404 Not Found
URI:	/
STATUS:	404
MESSAGE:	Not Found
SERVLET:	UiServlet

The client's trace gives:
2023-09-28 21:49:38,520 INFO  [main] org.eclipse.scout.dev.jetty.JettyServer.logServerReady(JettyServer.java:159) - Server ready. The application is available on the following addresses:
---------------------------------------------------------------------
  http://localhost:8082/
  http://bquiet:8082/
  http://192.168.0.19:8082/
---------------------------------------------------------------------
To shut the server down, type "shutdown" in the console.

2023-09-28 21:51:27,203 WARN  [qtp1497845528-96] org.eclipse.scout.rt.server.commons.authentication.DevelopmentAccessController.handle(DevelopmentAccessController.java:65) - +++ Development access control with user michel
2023-09-28 21:51:49,023 INFO  [qtp1497845528-96] org.eclipse.scout.rt.ui.html.UiServlet.sendNotFound(UiServlet.java:282) - 404_NOT_FOUND: GET /


Same with the template 23.2.2.
I did this try because I had the same problem with the application I try to upgrade.

Java version is 17.
OS is Windows 11.
The browser is a recent Firefox.

Is it my fault or can it be reproduced ?

[Updated on: Thu, 28 September 2023 20:02]

Report message to a moderator

Re: HelloScout not working with Eclipse 2023-09 [message #1861201 is a reply to message #1861200] Thu, 28 September 2023 20:18 Go to previous messageGo to next message
Michel R is currently offline Michel RFriend
Messages: 46
Registered: April 2015
Member
I just realized that the not working environment uses a JDK 17 installed independently, while the working application is run with Eclipse's embedded JRE 17. I tried again with Eclipse 2023-06 + external JDK 17 and I get the error !
So maybe I'll investigate more tomorrow (it's late here CET).
Re: HelloScout not working with Eclipse 2023-09 [message #1861209 is a reply to message #1861201] Fri, 29 September 2023 07:33 Go to previous messageGo to next message
Michel R is currently offline Michel RFriend
Messages: 46
Registered: April 2015
Member
It's a complete mystery. The hello application is working when built and started by Eclipse 2023-09 provided that the default JRE is the one which is embedded in Eclipse and not my JDK 17.
=> Eclipse / Window / Preferences / Java / Installed JREs => mark the jre located in eclipse/plugins as default...
And have Eclipse rebuild the project (automatically).

That's all I did to make it work instead of getting the 404 error.
Very strange. I am lost.
Re: HelloScout not working with Eclipse 2023-09 [message #1861210 is a reply to message #1861209] Fri, 29 September 2023 08:06 Go to previous messageGo to next message
Fritz Schinkel is currently offline Fritz SchinkelFriend
Messages: 7
Registered: January 2022
Junior Member
Hi Michel,

the 404 error you got occurs when the "js build" is not finished or failed.
The log looks like this if it completes successfully
webpack 5.80.0 compiled successfully in 2000 ms

No errors found.


Maybe your "js build" finished after your first try while you were switching JREs and that's why the second try was successful.

Kind regards,
Fritz
Re: HelloScout not working with Eclipse 2023-09 [message #1861449 is a reply to message #1861210] Fri, 13 October 2023 07:26 Go to previous message
Michel R is currently offline Michel RFriend
Messages: 46
Registered: April 2015
Member
Hello Fritz,

Thank you, I understand, if the js build didn't work it explains that the icons are missing, etc.

However, the only difference between the correct build and the failed one is the JRE, and both are Java 17...

Note that when I build the project with the command line, it uses the installed Java (not Eclipse's) and the build is correct.

Strange.
Previous Topic:Google Chrome High CPU
Next Topic:Changing label position when the field is not empty
Goto Forum:
  


Current Time: Wed May 08 13:39:51 GMT 2024

Powered by FUDForum. Page generated in 0.03813 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top