Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mani Raju
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are adding the jar file that contains that class to the classpath?
 
Mani Raju
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it's not part of the JRE class libraries. Google will help you find it.
 
Mani Raju
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...................


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic