我是Kony的新手,我为iPhone和SPA构建了一个简单的应用程序,构建成功,但SPA网址如下所示抛出错误,请帮助可能出错的地方。
错误
HTTP错误:500
频道未构建 RequestURI = /手势/ P
Caused by:
com.kony.web.exception.ChannelNotFoundException: Channel not build
at com.kony.web.controller.KonyWebCommon.processRequest(KonyWebCommon.java:125)
at com.kony.web.controller.KonyWebCommon.processDoRequest(KonyWebCommon.java:110)
at com.kony.web.controller.KonyWebCommon.doGet(KonyWebCommon.java:234)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
at com.konylabs.middleware.common.DCFilter.doFilter(DCFilter.java:74)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
at com.kony.web.filter.KonySPADetailsFilter.doFilter(KonySPADetailsFilter.java:69)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:320)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
答案 0 :(得分:1)
右键单击项目,选择“属性”,增加版本,然后打开“目标平台”选项卡。确保选中电话 - 移动网络频道/ HTML5单页应用(SPA)。
然后确保您的项目有移动表单。再次右键单击该项目,选择Build - >清理并构建并检查Web / HTML5 SPA。构建后,再次右键单击并发布移动Web渠道。
答案 1 :(得分:0)