"sitemap not found" error with sitemap file under sitemaps directory

Dear Maintainers,

Although I have my network.sitemap file under openhab-offline-2.0.0-SNAPSHOT/conf/sitemaps.
I still got the “sitemap not found error”, any comments?

Background information:
You may notice network binding is openhab2-addons. So I use openhab2 via eclipse to debug.

Thank you and any information will be greatly appreciated.


Here is the referenced message:
HTTP ERROR 500

Problem accessing /classicui/app. Reason:

Server Error

Caused by:

javax.servlet.ServletException: Sitemap ‘network’ could not be found
at org.eclipse.smarthome.ui.classic.internal.servlet.WebAppServlet.service(WebAppServlet.java:165)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.smarthome.ui.classic.render.RenderException: Sitemap ‘network’ could not be found
at org.eclipse.smarthome.ui.classic.internal.servlet.WebAppServlet.service(WebAppServlet.java:130)
… 22 more

Caused by:

org.eclipse.smarthome.ui.classic.render.RenderException: Sitemap ‘network’ could not be found
at org.eclipse.smarthome.ui.classic.internal.servlet.WebAppServlet.service(WebAppServlet.java:130)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)

I have seen this with the online version where all the dependencies are not downloaded yet. With the offline version, everything should be there though unless there was a build issue. Try downloading the latest build and see if the problem is still there perhaps.

Thank you very much for your information, Jim.

Here is the link I get the openhab2
https://openhab.ci.cloudbees.com/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab-offline/target/openhab-offline-2.0.0-SNAPSHOT.zip
, which is from** https://github.com/openhab/openhab-distro/blob/master/docs/sources/getting-started.md**

Without build, I just $start.sh.

As you mentioned " With the offline version, everything should be there though unless there was a build issue.",
did you say I should do an extra $mvn install before $start.sh.


Here is the configuration files by myself,
$cat conf/sitemaps/network.sitemap
sitemap network label=“Main Menu”
{
Frame {
Switch item=MyDevice
#Number item=MyTime
}
}

$ cat conf/items/network.items
Switch MyDevice { channel=“network:device:1:online” }
strong text#Number MyTime { channel=“network:device:1:time” }

Is there something wrong in my own configuration files causing the problem?

Thank you and any information will be greatly appreciated.

I had this error, too. After installing the extension “Map transformation”, it worked.

I have this error also. Installing the extension “Map transformation” did not work for me. In my case i think something is messed up after trying the demo.
What is the correct way to uninstall the demo and what is the correct name for the configurations folder? In the demo its just conf?

Edit: found the problem, i was searching the reason in configurations folder. But a wrong file name in conf folder was the problem …

Is it possible to install some demo sitemaps version? I am new and i cant login to my openhab, and i belvie its becase the sitemap is empty?

when I use my brwoser on any computer with
http://192.168.0.14:8080/start/index

a only got error

Regards Alan

Ive never bothered to install demo part but I’m using 1.8 I like it better than 2 …I just saved the installation config file as openHAB.cfg sitemap as default.sitemap and items file as default.items works for me