XXX只是我需要保密的名字。GWT编译错误 - Restlet相关?
Compiling module com.XXX.XXX.XXX_Test
Validating newly compiled units
Ignored 12 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Scanning for additional dependencies: file:/D:/Eclipse/Indigo/Workspace/XXX%20Test/src/com/XXX/XXX/client/Restlet.java
Computing all possible rebind results for 'com.wai.XXX.client.proxy.DonglesProxy'
Rebinding com.XXX.XXX.client.proxy.DonglesProxy
Checking rule <generate-with class='org.restlet.rebind.ClientProxyGenerator'/>
[ERROR] Errors in 'file:/D:/Eclipse/Indigo/Workspace/XXX%20Test/src/com/XXX/XXX/client/proxy/DonglesProxy.java'
[ERROR] Line 11: No source code is available for type org.restlet.resource.ClientProxy; did you forget to inherit a required module?
[ERROR] Unable to find type 'com.XXX.XXX.client.proxy.DonglesProxy'
[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
这是当我尝试在我的项目上执行GWT编译时,控制台告诉我的内容。我不明白,我已经包含了“org.restlet.jar”到项目的构建路径,并有在DonglesProxy源代码如下进口:
import org.restlet.resource.ClientProxy;
import org.restlet.resource.Put;
任何人任何想法?
我是新来的Java和整个Web应用程序的过程,所以我的知识有点欠缺。这其实是别人的项目已经半途而废,所以我试图调试/理解别人的代码,而学习,我沿着......梦魇:(
任何帮助,将不胜感激去!
干杯 千电子伏
嗨科马,谢谢你回到我身边。我尝试使用org.restlet.client.resource.xxx,但我的项目不再构建并生成此错误。 –
什么错误?你需要,将GWT版本的restlet添加到您的类路径中,并且可能在服务器的类路径中实现服务器端的J2EE版本; –
koma
对不起,这是一个错字,我设法解决GWT编译,另一个问题,你能告诉我部署App Engine和运行为Web应用程序的区别吗? –