18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
java.lang.NoClassDefFoundError: net/sf/sahi/Proxy
Hi,
I have configured sahi in Eclipse, but while starting sahi from eclipse i.e., Run->ExternalTools, i am getting the following exception stack
SAHI_HOME: ..
SAHI_USERDATA_DIR: ..\userdata
SAHI_EXT_CLASS_PATH:
java.lang.NoClassDefFoundError: net/sf/sahi/Proxy
Caused by: java.lang.ClassNotFoundException: net.sf.sahi.Proxy
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: net.sf.sahi.Proxy. Program will exit.
Exception in thread "main"
I have configured sahi in Eclipse, but while starting sahi from eclipse i.e., Run->ExternalTools, i am getting the following exception stack
SAHI_HOME: ..
SAHI_USERDATA_DIR: ..\userdata
SAHI_EXT_CLASS_PATH:
java.lang.NoClassDefFoundError: net/sf/sahi/Proxy
Caused by: java.lang.ClassNotFoundException: net.sf.sahi.Proxy
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: net.sf.sahi.Proxy. Program will exit.
Exception in thread "main"