You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Dan Jones <dj...@hotmail.com> on 2002/07/10 03:21:08 UTC
Language Exception
Hi
I'm a total newbie with cocoon and am getting this error when I try to access
http://localhost/cocoon (I've set up Tomcat so I don't need to use the :8080),
using cocoon 2 and Tomcat 4.03 with JDK1.4, under Windows 2000 professional.
I've installed it on another machine using the same OS, servlet engine and cocoon
version, but with JDK1.3.0 and I'm presented with the cocoon homepage when I
enter the previous URL.
Here is the error message I'm receiving. Is there a quick fix for this? Didn't
seem to be any mention of it in the FAQ.
Many thanks
Dan
type fatal
message Language Exception
description org.apache.cocoon.ProcessingException:
Language Exception:
org.apache.cocoon.components.language.LanguageException:
Error compiling sitemap_xmap:
Line 0, column 0: could not parse error message:
error: Invalid class file format in
G:\JDK1.4\jre\lib\rt.jar(java/io/OutputStream.class).
The major.minor version '48.0' is too recent for this tool to understand.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Réf. : Language Exception
Posted by Dan Jones <dj...@hotmail.com>.
Thanks Othman
but I am actually using the default cocoon sitemap. I haven't changed
anything at all in the configuration or setup as yet. Merely trying to
get the initial Cocoon welcome page up.
I guess maybe Cocoon is still a little buggy when it comes to JDK1.4, as
1.3 seems to work fine. Might go back to an earlier JDK.
Cheers
Dan
Othman Haddad wrote:
> hi,that means that you've something wrong in your sitemap.xmap...try
to use the default sitemap of cocoon2 before using your own
one..hope it helps
-------Message original-------
De : cocoon-users@xml.apache.org
Date : mercredi 10 juillet 2002 03:27:09
A : cocoon-users@xml.apache.org
Sujet : Language Exception
Hi
I'm a total newbie with cocoon and am getting this error when I try
to access
http://localhost/cocoon (I've set up Tomcat so I don't need to use
the :8080),
using cocoon 2 and Tomcat 4.03 with JDK1.4, under Windows 2000
professional.
I've installed it on another machine using the same OS, servlet
engine and cocoon
version, but with JDK1.3.0 and I'm presented with the cocoon
homepage when I
enter the previous URL.
Here is the error message I'm receiving. Is there a quick fix for
this? Didn't
seem to be any mention of it in the FAQ.
Many thanks
Dan
type fatal
message Language Exception
description org.apache.cocoon.ProcessingException:
Language Exception:
org.apache.cocoon.components.language.LanguageException:
Error compiling sitemap_xmap:
Line 0, column 0: could not parse error message:
error: Invalid class file format in
G:\JDK1.4\jre\lib\rt.jar(java/io/OutputStream.class).
The major.minor version '48.0' is too recent for this tool to
understand.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
.
> ________________________________________________________________
> IncrediMail - La messagerie électronique a enfin évolué - Cliquer
> ici
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Réf. : Language Exception
Posted by Othman Haddad <oh...@neomalogic.com>.
hi,
that means that you've something wrong in your sitemap.xmap...
try to use the default sitemap of cocoon2 before using your own one..
hope it helps
-------Message original-------
De : cocoon-users@xml.apache.org
Date : mercredi 10 juillet 2002 03:27:09
A : cocoon-users@xml.apache.org
Sujet : Language Exception
Hi
I'm a total newbie with cocoon and am getting this error when I try to
access
http://localhost/cocoon (I've set up Tomcat so I don't need to use the
:8080),
using cocoon 2 and Tomcat 4.03 with JDK1.4, under Windows 2000 professional.
I've installed it on another machine using the same OS, servlet engine and
cocoon
version, but with JDK1.3.0 and I'm presented with the cocoon homepage when I
enter the previous URL.
Here is the error message I'm receiving. Is there a quick fix for this? Didn
t
seem to be any mention of it in the FAQ.
Many thanks
Dan
type fatal
message Language Exception
description org.apache.cocoon.ProcessingException:
Language Exception:
org.apache.cocoon.components.language.LanguageException:
Error compiling sitemap_xmap:
Line 0, column 0: could not parse error message:
error: Invalid class file format in
G:\JDK1.4\jre\lib\rt.jar(java/io/OutputStream.class).
The major.minor version '48.0' is too recent for this tool to understand.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
.
Re: Language Exception
Posted by Dan Jones <dj...@hotmail.com>.
Thanks very much.
That solved the problem real quick :)
Cheers
Dan
Vadim Gritsenko wrote:
> > From: Dan Jones [mailto:dj2216@hotmail.com]
> >
> > Hi
> >
> > I'm a total newbie with cocoon and am getting this error when I try to
> access
> > http://localhost/cocoon (I've set up Tomcat so I don't need to use the
> :8080),
> > using cocoon 2 and Tomcat 4.03 with JDK1.4, under Windows 2000
> professional.
> >
> > I've installed it on another machine using the same OS, servlet engine
> and
> > cocoon
> > version, but with JDK1.3.0 and I'm presented with the cocoon homepage
> when I
> > enter the previous URL.
> >
> > Here is the error message I'm receiving. Is there a quick fix for
> this? Didn't
> > seem to be any mention of it in the FAQ.
> >
> > Many thanks
> >
> > Dan
> >
> > type fatal
> >
> > message Language Exception
> >
> > description org.apache.cocoon.ProcessingException:
> >
> > Language Exception:
> > org.apache.cocoon.components.language.LanguageException:
> > Error compiling sitemap_xmap:
> > Line 0, column 0: could not parse error message:
> > error: Invalid class file format in
> > G:\JDK1.4\jre\lib\rt.jar(java/io/OutputStream.class).
> > The major.minor version '48.0' is too recent for this tool to
> understand.
>
> Quick fix: either upgrade compiler to version 1.4, or use rt.jar from
> the JDK of the compiler.
>
> Explanation: you can't use JDK1.4 libraries (rt.jar) with older compiler
> (say, 1.3). Compiler resides in WEB-INF, and its name is javac.jar. When
> in JDK, this is lib/tools.jar file. JDK and compiler must match (unless
> you are using alternate compiler - pizza - default in latest cocoon
> releases)
>
> Vadim
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Language Exception
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Dan Jones [mailto:dj2216@hotmail.com]
>
> Hi
>
> I'm a total newbie with cocoon and am getting this error when I try to
access
> http://localhost/cocoon (I've set up Tomcat so I don't need to use the
:8080),
> using cocoon 2 and Tomcat 4.03 with JDK1.4, under Windows 2000
professional.
>
> I've installed it on another machine using the same OS, servlet engine
and
> cocoon
> version, but with JDK1.3.0 and I'm presented with the cocoon homepage
when I
> enter the previous URL.
>
> Here is the error message I'm receiving. Is there a quick fix for
this? Didn't
> seem to be any mention of it in the FAQ.
>
> Many thanks
>
> Dan
>
> type fatal
>
> message Language Exception
>
> description org.apache.cocoon.ProcessingException:
>
> Language Exception:
> org.apache.cocoon.components.language.LanguageException:
> Error compiling sitemap_xmap:
> Line 0, column 0: could not parse error message:
> error: Invalid class file format in
> G:\JDK1.4\jre\lib\rt.jar(java/io/OutputStream.class).
> The major.minor version '48.0' is too recent for this tool to
understand.
Quick fix: either upgrade compiler to version 1.4, or use rt.jar from
the JDK of the compiler.
Explanation: you can't use JDK1.4 libraries (rt.jar) with older compiler
(say, 1.3). Compiler resides in WEB-INF, and its name is javac.jar. When
in JDK, this is lib/tools.jar file. JDK and compiler must match (unless
you are using alternate compiler - pizza - default in latest cocoon
releases)
Vadim
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>