i am working with web services and i am trying to test them, i am shocked to get the following exception, the thing is there is a Test.java file in a package and build the class using ant build.xml the Test.java consist of main method but i am facing the following error and i checked many a times the source file name with the class name, and named them by copying from what i have typed but still
What is your directory structure (source and build), and how are you trying to run it? It's definitely a classpath issue; it looks like it's trying to run something with the classpath set up the hierarchy too far.
when i am running through the prompt by changing the directory to the appropriate location and run in the usual way i am getting the error which i have specified earlier but when i am using an IDE i am getting the following error.
this is really the problem with the classpath and the location i am using, the one you have said is working.
even earlier one of the member asked me to do the same but the location made the difference.
thanks for every one who took the risk and pain to help me.
Or any other IDE that allows you to run code without solving compiler errors. And this is why you never should run an application while there are still compiler errors; you should always solve these before trying to run your application. Any application with compiler errors will always be broken.