Hi all I created a webservice which i could successfully deploy. but when i tried to compile my client it is showing an error as follows. -------------------- HoroscopeClient.java:14: cannot access staticstub.HoroscopeInterface bad class file: .\build\staticstub\HoroscopeInterface.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. HoroscopeInterface hface=(HoroscopeInterface)stub; 1 error ------------------- ******************* following are the pakages involved in my webservice
I have a directory named HoroscopeWS which contatins the following
Then maybe you used compiler options for different language versions (i.e. same javac, but emitted code for 1.3 and 1.4, or 1.4 and 1.5). That message always means the class files aren't for a language version the JVM was expecting to see.