2011-12-07 21 views
3

ローカルホスト上でテストするときに問題なく動作する小さなアプリケーションがあります。Googleアプリケーションエンジンにデプロイできません

しかし、私はApp EngineのサーバーをGoogleに展開したい場合、私はthosesエラーがあります:

Compiling module org.magnetik.semola.Org_magnetik 
    Validating newly compiled units 
     Ignored 1 unit with compilation errors in first pass. 
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. 
    Finding entry point classes 
     [ERROR] Errors in 'file:/C:/Users/magnetik/git/semola-rdf/org.magnetik/src/org/magnetik/semola/client/RDFServlet.java' 
     [ERROR] Line 13: No source code is available for type javax.servlet.http.HttpServlet; did you forget to inherit a required module? 
     [ERROR] Line 16: No source code is available for type javax.servlet.http.HttpServletRequest; did you forget to inherit a required module? 
     [ERROR] Line 16: No source code is available for type javax.servlet.http.HttpServletResponse; did you forget to inherit a required module? 
     [ERROR] Line 25: No source code is available for type com.hp.hpl.jena.rdf.model.Model; did you forget to inherit a required module? 
     [ERROR] Line 25: No source code is available for type com.hp.hpl.jena.rdf.model.ModelFactory; did you forget to inherit a required module? 
     [ERROR] Line 37: No source code is available for type java.io.ByteArrayInputStream; did you forget to inherit a required module? 
     [ERROR] Unable to find type 'org.magnetik.semola.client.RDFServlet' 
     [ERROR] Hint: Previous compiler errors may have made this type unavailable 
     [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly 

お役立ちファイル(と思う)はここにある:http://pastebin.com/zuELG18u

+0

gwt.xmlにすべての必要なモジュールがあるかどうか確認できますか? XMLモジュールを継承する必要があります:

答えて

4

プロジェクトがためにGWTを使用していますクライアント側?特別なGWT合併の手順を実行しようとしていると、導入は失敗しています。

私はあなたの問題はあなたのRDFServletクラスを使用すると、意図しているものではありませんGWTモジュールの一部であるということであると信じています。 GAE用

デフォルトEclipseプロジェクトはGWTで動作するように事前に設定されています。パッケージには、例の構造であり、このようなものです:

client/ <--- GWT code (for client side, compiled to JavaScript) 
shared/ <--- Code necessary on both the client and server 
server/ <--- Server side code 

GWTはクライアント/ダウンJavaScriptにコンパイルするとき、それはすべての依存関係の完全なソースを必要とし、参照すべきではない多くのクラスがあります。しかし、 "クライアント"パッケージにサーブレット(RDFServlet)があるようです。

あなたはおそらく、あなたのプロジェクトでGWTを無効にする、またはGWTモジュールの一部ではないパッケージにRDFServletを移動するかします。たとえば、Eclipseサンプルプロジェクトを使用している場合、Servletsは 'server'パッケージのどこかに配置されます。

+0

私はGWTツールを使用していなかったので、EclipseのGWTツール機能を無効にしています。 – magnetik

関連する問題