Hello all,

I am trying to use the sample SSO client provided (sso-sample-1.0.1-
java.zip) for Java. I could successfully build using JDK 1.5, and
deploy the same on tomcat 5.5.16. It is working well.

But, due to some other constraints, I have to use JDK 1.4.2_05 and the
sample is failing to build under jdk 1.4.2. It complains about version
mismatch for org.jdom.Document. (Output given below)

Apparently, this is because the jdom.jar is built with JDK 1.5; so
from what it looks, if we get jdom.jar built with JDK 1.4.2, this will
solve the issue. Any pointers/hints to solve this matter?

My apache ant version is 1.7.1

[ambar...@ps2844 java]$ ant war
Buildfile: build.xml

build:
     [echo] Java version = 1.4.2_05
     [echo] Ant version = Apache Ant version 1.7.1 compiled on June 27
2008

.......
    [javac] bad class file: /home/ambarish/sandbox/google/sso-api/java/
samltool/WEB-INF/lib/jdom.jar(org/jdom/Document.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.
    [javac] import org.jdom.Document;
    [javac]                 ^
    [javac] 1 error

BUILD FAILED

Total time: 1 second

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" 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/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to