Vaadin与Google App Engine集成

时间:2013-07-06 13:50:07

标签: java google-app-engine vaadin

我正在尝试将Vaadin与Google App Engine集成,经过一系列已解决的错误和问题我已达到此异常

    EXCEPTION 
java.lang.ClassNotFoundException: com.vaadin.terminal.gwt.server.GAEApplicationServlet
    at com.google.appengine.runtime.Request.process-a03353a24bf46b73(Request.java)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:359)
    at org.mortbay.util.Loader.loadClass(Loader.java:91)
    at org.mortbay.util.Loader.loadClass(Loader.java:71)
    at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:242)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
    at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:483)
    at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:490)
    at com.google.tracing.TraceContext.runInContext(TraceContext.java:777)
    at com.google.tracing.TraceContext$DoInTraceContext.runInContext(TraceContext.java:754)
    at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:345)
    at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:337)
    at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:487)
    at java.lang.Thread.run(Thread.java:722)

可能是哪个问题?

1 个答案:

答案 0 :(得分:0)

绝对缺少图书馆。

确保您将Vaadin图书馆附加到战争中。它们应位于WEB-INF / lib文件夹中。

如果您不使用maven,请尝试一下。您可以从原型制作GAE工作项目。 https://vaadin.com/blog/-/blogs/66996