properties are not found while starting client in dev mode [message #1784331] |
Mon, 26 March 2018 22:55 |
Anton Kravets Messages: 6 Registered: March 2018 |
Junior Member |
|
|
Hi,
Could someone guide me what is the problem.
When I'm trying to run client of HelloWorld sample app according to 'Scout for beginners guide' I get error as follows:
2018-03-27 01:28:46,275 INFO [Thread-9] org.eclipse.scout.rt.shared.servicetunnel.RegisterTunnelToServerPlatformListener.registerTunnelToServerProxies(RegisterTunnelToServerPlatformListener.java:68) - Tunnel to server proxies registered. - MDC[]
2018-03-27 01:28:46,288 ERROR [Thread-9] org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:192) - Config property with key 'scout.ui.prebuild.files' does not exist or has an invalid value. - MDC[]
2018-03-27 01:28:46,288 ERROR [Thread-9] org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:192) - Config property with key 'scout.ui.prebuild' does not exist or has an invalid value. - MDC[]
2018-03-27 01:28:46,288 ERROR [Thread-9] org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:192) - Config property with key 'scout.ui.theme' does not exist or has an invalid value. - MDC[]
2018-03-27 01:28:46,317 ERROR [Thread-9] org.eclipse.scout.rt.platform.internal.PlatformImplementor.start(PlatformImplementor.java:144) - Error during platform startup - MDC[]
org.eclipse.scout.rt.platform.exception.PlatformException: Cannot start platform due to 3 invalid config properties: [scout.ui.prebuild.files, scout.ui.prebuild, scout.ui.theme]
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:196)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.start(PlatformImplementor.java:137)
at org.eclipse.scout.rt.platform.internal.PlatformStarter.run(PlatformStarter.java:29)
Exception in thread "Thread-9" org.eclipse.scout.rt.platform.exception.PlatformException: Cannot start platform due to 3 invalid config properties: [scout.ui.prebuild.files, scout.ui.prebuild, scout.ui.theme]
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateConfiguration(PlatformImplementor.java:196)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.start(PlatformImplementor.java:137)
at org.eclipse.scout.rt.platform.internal.PlatformStarter.run(PlatformStarter.java:29)
2018-03-27 01:28:46,318 WARN [main] org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:549) - Failed startup of context o.e.s.d.j.P_WebAppContext@23fe1d71{/,file:///D:/eclipse-workspace/helloworld/helloworld.ui.html.app.dev/src/main/webapp/,UNAVAILABLE} - MDC[]
org.eclipse.scout.rt.platform.exception.PlatformException: The platform is in an invalid state.
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.throwOnPlatformInvalid(PlatformImplementor.java:94)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.awaitPlatformStarted(PlatformImplementor.java:84)
at org.eclipse.scout.rt.server.commons.WebappEventListener.contextInitialized(WebappEventListener.java:43)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:876)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:839)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1480)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1442)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:799)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:452)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:419)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.scout.dev.jetty.JettyServer.start(JettyServer.java:95)
at org.eclipse.scout.dev.jetty.JettyServer.main(JettyServer.java:56)
2018-03-27 01:28:46,341 INFO [main] org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:280) - Started ServerConnector@28c4711c{HTTP/1.1,[http/1.1]}{0.0.0.0:8082} - MDC[]
Exception in thread "main" org.eclipse.scout.rt.platform.exception.PlatformException: The platform is in an invalid state.
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.throwOnPlatformInvalid(PlatformImplementor.java:94)
at org.eclipse.scout.rt.platform.internal.PlatformImplementor.awaitPlatformStarted(PlatformImplementor.java:84)
at org.eclipse.scout.rt.server.commons.WebappEventListener.contextInitialized(WebappEventListener.java:43)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:876)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:839)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1480)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1442)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:799)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:452)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:419)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.scout.dev.jetty.JettyServer.start(JettyServer.java:95)
at org.eclipse.scout.dev.jetty.JettyServer.main(JettyServer.java:56)
Nothing was changed after creating the project, so all settings are default.
I guess these files should be generated in dev mode but they are not.
IDE - Eclipse for Scout Developers
Version: Oxygen.3 Release (4.7.3)
Build id: 20180308-1800
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06072 seconds