简体   繁体   English

找不到入口点类(GWT + GAE + Eclipse)

[英]Entry point classes not found (GWT + GAE + Eclipse )

I got the following error when i try to deploy my application to GAE. 尝试将应用程序部署到GAE时出现以下错误。

jul 05, 2014 2:51:37 AM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\\JavaSoft\\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Compiling module com.sertaogames.cangaco.CangacoRPG Finding entry point classes [ERROR] Unable to find type 'com.sertaogames.cangaco.cleint.CangacoRPG' [ERROR] Hint: Check that the type name 'com.sertaogames.cangaco.cleint.CangacoRPG' is really what you meant [ERROR] Hint: Check that your classpath includes all required source roots

It is running smoothly from localhost 它可以从本地主机顺利运行

The file exists (com.sertaogames.cangaco.cleint.CangacoRPG) and was created default by eclipse. 该文件存在(com.sertaogames.cangaco.cleint.CangacoRPG),并且由Eclipse默认创建。 .

Make sure that you included all of your dependencies in /war/WEB-INF/ lib/ directory. 确保将所有依赖项都包含在/ war / WEB-INF / lib /目录中。 It's not enough to add them to your classpath. 仅将它们添加到您的类路径中是不够的。

In Eclipse you may see a warning in the Problems tab that a class is not going to be available on server. 在Eclipse中,您可能会在“问题”选项卡中看到一条警告,指出服务器上的类将不再可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM