aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes import com.jcraft.jsch.Channel can not be resolved Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "import com.jcraft.jsch.Channel can not be resolved" Watch "import com.jcraft.jsch.Channel can not be resolved" New topic
Author

import com.jcraft.jsch.Channel can not be resolved

Mani Raju
Ranch Hand

Joined: Oct 09, 2012
Posts: 46
Hi,

Presant i am using java version 1.7.0_05-b06, but i am getting error "can not be resolved" for " import com.jcraft.jsch.Channel" statement.



Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42596
    
  65
How are adding the jar file that contains that class to the classpath?


Ping & DNS - my free Android networking tools app
Mani Raju
Ranch Hand

Joined: Oct 09, 2012
Posts: 46
Ulf Dittmer wrote:How are adding the jar file that contains that class to the classpath?


Actuall i didn't add any jar file in buildpath of project. Is there any jar file for this packages to add it in buildpath?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42596
    
  65
Yes, it's not part of the JRE class libraries. Google will help you find it.
Mani Raju
Ranch Hand

Joined: Oct 09, 2012
Posts: 46
Ulf Dittmer wrote:Yes, it's not part of the JRE class libraries. Google will help you find it.


Thanks, it is resolved by adding jar file jsch-0.1.49.jar in buildpath.
Mani Raju
Ranch Hand

Joined: Oct 09, 2012
Posts: 46
Mani Raju wrote:
Ulf Dittmer wrote:Yes, it's not part of the JRE class libraries. Google will help you find it.


Thanks, it is resolved by adding jar file jsch-0.1.49.jar in buildpath.


For this statement, import org.apache.velocity.context.AbstractContext;

i am getting error. "Cannot be resolved". Which jar file we need to add into buildpath?

Mani Raju
Ranch Hand

Joined: Oct 09, 2012
Posts: 46
Mani Raju wrote:
Mani Raju wrote:
Ulf Dittmer wrote:Yes, it's not part of the JRE class libraries. Google will help you find it.


Thanks, it is resolved by adding jar file jsch-0.1.49.jar in buildpath.


For this statement, import org.apache.velocity.context.AbstractContext;

i am getting error. "Cannot be resolved". Which jar file we need to add into buildpath?




The error "Can not be resolved" for the statement import org.apache.velocity.context.AbstractContext;--> Resolved by adding velocity-dep-1.4.jar file in buildpath.

Thanks every one...................


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: import com.jcraft.jsch.Channel can not be resolved