简体   繁体   English

导入com.btr无法解析

[英]The import com.btr cannot be resolved

import com.btr.proxy.search.ProxySearch;

Eclipse says that this import "com.btr cannot be resolved" Eclipse表示此导入“无法解析com.btr”
The complete code is here . 完整的代码在这里

How do I tell eclipse where to find it? 如何告诉Eclipse在哪里找到它?

I think com.btr.proxy.search.ProxySearch class not present in your class path. 我认为com.btr.proxy.search.ProxySearch类不在您的类路径中。

If you are not using maven then you have to download proxy-vole_20131209_bin.zip file and configure it in your class path it has ProxySearch class. 如果您不使用maven,则必须下载proxy-vole_20131209_bin.zip文件,并在具有ProxySearch类的类路径中对其进行ProxySearch Download from here 从这里下载

com.btr belongs to a separate library. com.btr属于一个单独的库。 You can add it to your workspace by right clicking your current project, going to Build Path > Configure Build Path. 您可以通过右键单击当前项目,将其添加到工作区中,依次转到“构建路径”>“配置构建路径”。 Navigate to the Java Build Path among the icons on the left and selecting Libraries among the tabs given. 导航到左侧图标中的Java Build Path,然后在给定的选项卡中选择Libraries。 Select add external jars and select the location of your jar file which should hold the library you're looking for. 选择添加外部jar,然后选择jar文件的位置,该文​​件应包含您要查找的库。

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

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