S
shivaraj
Hi,
I have a java program which expects a different class (BeanHome.class)
file from a jar. I have added this jar into my classpath. But still I
am getting "java.lang.NoClassDefFoundError: com/test/base/BeanHome"
error. I feel still its something to do with classpath settings.
Please let me know what might be wrong here.
the jar which is having BeanHome class is "service.jar" which is there
in C: drive.
classpath is set using :
set CLASSPATH=%CLASSPATH%;C:\service.jar;
command.
Let me know if I am missing something.
I have a java program which expects a different class (BeanHome.class)
file from a jar. I have added this jar into my classpath. But still I
am getting "java.lang.NoClassDefFoundError: com/test/base/BeanHome"
error. I feel still its something to do with classpath settings.
Please let me know what might be wrong here.
the jar which is having BeanHome class is "service.jar" which is there
in C: drive.
classpath is set using :
set CLASSPATH=%CLASSPATH%;C:\service.jar;
command.
Let me know if I am missing something.