Tech-Today
java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException
There are 2 ways to solve this problem, depending on your setup.
1.) If you're using ant installed on your machine, example on c:\apache-ant. Just place the jsch.jar in it's lib folder.
2.) In case you are using eclipse's ant plugin.
a.) Open eclipse
b.) Click Window->Preference
c.) In type filter textbox type "ant"
d.) Click Runtime
e.) Expand "Global Entries"
f.) Add external jar, and locate jsch.jar in your system
javascript:void(0)
-
How To Install Eclipse Plugin Using Available Sites And Eclipse Marketplace
This tutorial will teach us how to install eclipse plugins such as svn, egit, etc using available sites and eclipse marketplace. Note that I've done this on windows using eclipse-jee-juno. Installing eclipse plugins using available sites: 1.) To install...
-
Create A New Seam Web Project In Eclipse-helios
In this exercise we will be building seam web project in eclipse. It's long so stay focus :-D. What you need (The following should be installed correctly): Note: in parentheses is where I installed mine. 1.) Jboss seam 2.2.1 (C:\jboss-seam-2.2.1)...
-
Add Eclipse-rcp's Views Short List, Perspective Short List In The Org.eclipse.ui.menus Plugin Via Dynamic Compoundcontributionitem Class
Recently, I've encountered a problem wherein I wanted to display the eclipse-rcp's list of view, perspective etc using the extension org.eclipse.ui.menus. The problem can easily solved by the ApplicationActionBarAdvisor, see the code below: private...
-
Open A View In The Eclipse-rcp's Extension Tab Using The Showviewhandler Class
Let's do this quick. 1.) Create a new HelloWorld Plug-in Project and name it CommandParameter. 2.) Open the plugin.xml and click the Extensions tab. 3.) In the All Extensions tab click the Add button and under the Extension Point Filter: search "view"....
-
Error Encountered: Requested Registry Access Is Not Allowed, System.security.securityexception
Problem: You have a dotnet application that reads key/value to the local registry but is restricted so you get the error. Solution: 1.) Goto run and type regedit, the "Registry Editor" window will open. 2.) Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security...
Tech-Today