What steps will reproduce the problem?
1. Try to run sample dashboard application from it.
2. I have also copy and jar file from its lib folder and set jar file path
in CLASSPATH variable of environment variable.3.
What is the expected output? What do you see instead?
Run dashboard sample application.
What version of the product are you using? On what operating system?
Product version: gsa-admin-api-java-1.0.0
Operating system: XP professional
Please provide any additional information below.
I am getting error after running program:
D:\Download\GSA\gsa-admin-api-java-1.0.0\gdata\java>ant -f build-
samples.xml sam
ple.dashboard.run
Buildfile: build-samples.xml
sample.dashboard.dependencies:
template.require.service.jar:
sample.dashboard.build:
[javac] Compiling 4 source files to D:\Download\GSA\gsa-admin-api-
java-1.0.0
\gdata\java\sample\dashboard\classes
[javac] D:\Download\GSA\gsa-admin-api-java-1.0.0\gdata\java\sample
\dashboard
\DashAddServerForm.java:19: cannot access
com.google.enterprise.apis.client.GsaC
lient
[javac] bad class file: D:\Download\GSA\gsa-admin-api-java-1.0.0\gdata
\java\
lib\gdata-gsa-1.0.jar(com/google/enterprise/apis/client/GsaClient.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 com.google.enterprise.apis.client.GsaClient;
[javac] ^
[javac] 1 error
BUILD FAILED
D:\Download\GSA\gsa-admin-api-java-1.0.0\gdata\java\build-samples
\dashboard.xml:
49: Compile failed; see the compiler error output for details.
Total time: 1 second
Original issue reported on code.google.com by
amarnma...@gmail.comon 14 Oct 2009 at 6:09