GAEでデプロイできたものの、エラーログが出ました。 NoClassDefFoundError: twitter4j/TwitterException 【原因】 twitter4j-core-2.1.0.jar が正しくビルドされていない 【解決策】 下記のように、プロジェクト内で正しくjarファイルを参照していないとダメ。 ※1と※2が同じプロジェクトか確認してください。 今回はtestForAPIBotプロジェクト内なので、ここのWEB-INF/libを見てるかチェック ⇒実際にワークスペースを直接開けて、 libフォルダにtwitter.jarを直接コピペしました。 それから、「ビルドバスの構成」⇒ライブラリ⇒JARの追加 で設定完了 - 正しい配置は下記の通りです。