Run "ant clean" in order to clean up the class files and then "ant compile-smslib" or whatever you use.
On Dec 12, 2:05 pm, irsh <[email protected]> wrote: > i compiled the application from the article i found from javaworld > path settings for the application is right > > 1) i hava smslib version and i have installed all necessary jars at > right place in jdk/jre/lib so that i can send and recieve message > through my pc i have > encountered following error please help me to rectify > 2) also CLogger.java - i cant find where this file is > > error is: > > C:\smslib>ant compile-smslib > Buildfile: build.xml > > compile.smslib: > > compile.examples: > [javac] Compiling 6 source files to C:\smslib\dist\classes > [javac] C:\smslib\src\java\examples\bulksms\SendMessage.java:14: > cannot acce > ss org.smslib.Library > [javac] bad class file: C:\smslib\dist\classes\org\smslib > \Library.class > [javac] class file has wrong version 50.0, should be 49.0 > [javac] Please remove or make sure it appears in the correct > subdirectory of > the classpath. > [javac] import org.smslib.Library; > [javac] ^ > [javac] 1 error > > BUILD FAILED > C:\smslib\build.xml:99: Compile failed; see the compiler error output > for detail > s. > > Total time: 1 second > C:\smslib> -- You received this message because you are subscribed to the Google Groups "SMSLib for Java User Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
