You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Prasath Arun <ar...@gmail.com> on 2004/11/26 08:08:33 UTC
UnsupportedClassVersionError: in DOM level 3
Hi,
I use jdk1.4.2 and trying to execute the samples/dom/DOM3.java that
comes with latest xerces 2.6.2 release. I am getting following
exception
---------------------------
:\webservices\xerces-2_6_2\samples>java dom.DOM3
SchemaInput.xmlException in thread "main"
java.lang.UnsupportedClassVersionError: dom/DOM3 (Unsupported
major.minor version 49.0)
------------------------------------------------------
But I am not getting any exception when I use jdk1.5
has anyone tried that in jdk1.4.2? and still getting the same error??
my classpath: ClassPath=%ANT_HOME%/lib;C:/bea/weblogic81/server/ext/ifxjdbc.jar;
C:\webservices\xerces-2_6_2\build\dom3-xercesImpl.jar;
C:\webservices\xerces-2_6_2\build\dom3-xml-apis.jar
Is this a bug in xerces or I am missing something.
thanks
s.arun prasath
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: UnsupportedClassVersionError: in DOM level 3
Posted by IndianAtTech <in...@gmail.com>.
try recompiling source files of sample classes using jdk1.4.2
You should not get any problem
Regards
Sudhakar Chavali
On Fri, 26 Nov 2004 12:38:33 +0530, Prasath Arun <ar...@gmail.com> wrote:
> Hi,
> I use jdk1.4.2 and trying to execute the samples/dom/DOM3.java that
> comes with latest xerces 2.6.2 release. I am getting following
> exception
> ---------------------------
> :\webservices\xerces-2_6_2\samples>java dom.DOM3
> SchemaInput.xmlException in thread "main"
> java.lang.UnsupportedClassVersionError: dom/DOM3 (Unsupported
> major.minor version 49.0)
> ------------------------------------------------------
> But I am not getting any exception when I use jdk1.5
>
> has anyone tried that in jdk1.4.2? and still getting the same error??
>
> my classpath: ClassPath=%ANT_HOME%/lib;C:/bea/weblogic81/server/ext/ifxjdbc.jar;
> C:\webservices\xerces-2_6_2\build\dom3-xercesImpl.jar;
> C:\webservices\xerces-2_6_2\build\dom3-xml-apis.jar
>
> Is this a bug in xerces or I am missing something.
> thanks
> s.arun prasath
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org