简体   繁体   中英

import org.apache.commons.net.telnet.TelnetClient;

I am getting error "Can not be resolved to a type" for the statement

import org.apache.commons.net.telnet.TelnetClient;

Which jar file, I need to add in buildpath to avoid this error?

This class is from Apache Commons Net ( commons-net-<VERSION>.jar )

I guess you should download the latest version (3.2)

这属于Apache commons-net.jar

You need to add Apache Commons Net API, to your build path. More Info

The class is present in Apache commons-net.jar. Download You need to add this to your classpath

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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