导入gwtupload无法解析 [英] The import gwtupload cannot be resolved

查看:681
本文介绍了导入gwtupload无法解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了 gwtupload 的示例应用程序。 https://code.google.com/p/gwtupload/ 它的工作正常 .jar 我从项目主页下载。

I create sample application of gwtupload. https://code.google.com/p/gwtupload/ Its working fine with the .jar I downloaded from project home.

但是对于我的自定义需求,我从 git https://github.com/manolo/gwtupload 并根据我的要求进行了更改,并创建了 .jar 文件。然后我将它导入到我的项目并包含在classpath中。即使在编辑模式下,eclipse也不会给出任何错误。但是,当我调试并打开URL时,它给了我下面的错误。

But for my custom requirement I downloaded project from git https://github.com/manolo/gwtupload and made changes as per my requirement and created .jar file. Then I imported it to my project and included in classpath. Even eclipse is not giving any error in editor mode. But when I debug and open URL its giving me following error.

[ERROR] [uploadtest] - Line 3: The import gwtupload cannot be resolved
[ERROR] [uploadtest] - Line 53: SingleUploader cannot be resolved to a type
[ERROR] [uploadtest] - Line 54: IUploader cannot be resolved to a type

尝试过stackoverflow线程 Eclipse错误:导入XXX无法解析,但没有帮助我。

Tried stackoverflow thread Eclipse error: "The import XXX cannot be resolved" but didn't help me out.

是否需要使用其他参数创建 .jar 文件,而不是创建 .jar 在eclipse中使用Export

Do I need to create .jar file with other parameters than creating .jar using Export in eclipse?

推荐答案

Java源文件和资源。

You should export the .jar with "Java source files and resources".

这篇关于导入gwtupload无法解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆