2
回答
上一篇提问jfianl项目在sae上部署不成功的帖子,被屏蔽了。。。我也是莫名奇妙我只能再发一遍了
华为云实践训练营,热门技术免费实践!>>>   

昨天莫名其妙的被封号和禁言了一天。。。

1.我原来的jfianl开发环境是jdk1.7的为了部署到sae上设置成了jdk1.6.

2.部署的时候已经删除了servlet-api.jar和jetty-server-8.1.8.jar和log4j-1.2.16.jar

3.我参照@管梨员 的帖子注释掉了filter但是第二个session的是什么意思?

4.我是个学生,学校强制要部署到sae上我也是没办法。。。所以只能解决问题不能换服务器了。。。

5.以下是我启动时出现的错误。

JAVA_Error: Failed startup of context c.s.s.w.SaeWebAppContext{/1/myybj,file:/data1/jetty_work/70/myybj/jetty-0.0.0.0-12001-myybj.war-_1_myybj-any-/webapp/},/data1/www/htdocs/70/myybj/1/myybj.war
java.lang.IllegalStateException: class com.jfinal.core.JFinalFilter is not a javax.servlet.Filter
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:78)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:742)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:245)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:482)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:135)
at com.sina.sae.deploy.providers.SaeWebAppProvider.fileAdded(SaeWebAppProvider.java:113)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:601)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:531)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:394)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:329)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doSta yq37.javaruntime


<无标签>
举报
ni_cu
发帖于3年前 2回/739阅
顶部