Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Site page error after upgrading from Scout 9 to 10
Site page error after upgrading from Scout 9 to 10 [message #1840655] Wed, 21 April 2021 13:09 Go to next message
Simon Daisenberger is currently offline Simon DaisenbergerFriend
Messages: 7
Registered: April 2021
Junior Member
Dear Scout community,

we upgraded our scout project from 9 to 10, including installation of Node JS and Open JDK 11. Also we used the automatic migration tools and did all the steps of the migration documentation.

We are able to start both server and ui, but when we click on the link
http://localhost:8082/, we get a page missing error.

In the UI log we only find the following error:

2021-04-21 12:58:22,111 ERROR [scout-platform-starter] org.eclipse.scout.rt.shared.servicetunnel.RegisterTunnelToServerPlatformListener.registerTunnelToServerProxies(RegisterTunnelToServerPlatformListener.java:56) - The annotation @TunnelToServer can only be used on public interfaces, not on org.eclipse.scout.apps.fitness_area.shared.lookupcall.PaymentMonthLookupCall - MDC[]


Does anybody know, how we can solve this error?
Re: Site page error after upgrading from Scout 9 to 10 [message #1840681 is a reply to message #1840655] Thu, 22 April 2021 05:21 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
Hi Simon,

I'm not sure if your page missing error has something to do with the error from the log. But you should deal with that anyway:
I guess the @TunnelToServer annotation should be on the IPaymentMonthLookupService, and not on the LookupCall. So you should start trying to remove that annotation from your LookupCall class.

Also make sure that you've started the Watcher process, which builds the Web (JavaScript, HTML, CSS) of your Scout application. Without the watcher running, you may see a blank page on startup.

Cheers
André


Eclipse Scout Homepage | Documentation | GitHub
Re: Site page error after upgrading from Scout 9 to 10 [message #1840690 is a reply to message #1840681] Thu, 22 April 2021 07:12 Go to previous messageGo to next message
Simon Daisenberger is currently offline Simon DaisenbergerFriend
Messages: 7
Registered: April 2021
Junior Member
Hi Andre

thank you for your answer.
We will checkout the annotation at the IPaymentMonthLookupCall and -Service.

Regarding the watcher:
Is the watcher process started by [webapp] dev server.launch or [webapp] dev ui.launch? Or is there a separte launch script for this?
Re: Site page error after upgrading from Scout 9 to 10 [message #1840694 is a reply to message #1840690] Thu, 22 April 2021 07:31 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 204
Registered: September 2012
Location: Baden-Dättwil, Switzerla...
Senior Member
This depends on how you've migrated. If you've created a Scout 10 project with the Scout archetype you should have the following launch configs:

- [webapp] all.launch
- [webapp] dev server.launch
- [webapp] dev ui.launch
- [webapp] js build.launch

"all" is a compound launcher which starts all required launchers you need, when you work with Scout (dev server, dev ui and js build).
You need to launch all three of them. Probably you haven't started the "js build.launch"? This launcher simply triggers the NPM build, as described in the migration guide, step #25:

https://eclipsescout.github.io/10.0/migration-guide.html

So if you prefer that, you could also run "npm run build:dev" from your terminal.

André


Eclipse Scout Homepage | Documentation | GitHub
Re: Site page error after upgrading from Scout 9 to 10 [message #1840707 is a reply to message #1840694] Thu, 22 April 2021 09:52 Go to previous message
Simon Daisenberger is currently offline Simon DaisenbergerFriend
Messages: 7
Registered: April 2021
Junior Member
I found both
[webapp] js build.launch and
[webapp] js build.launch
and I'm now able to access the application again.

Thanks a lot Andre!!!
Previous Topic:AbstractChartControl - how to show chart
Next Topic:NullPointerException in AbstractRestClientHelper derived class
Goto Forum:
  


Current Time: Mon Oct 14 17:55:09 GMT 2024

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

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

Back to the top