You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Phillip Gibb <ph...@prism.co.za> on 2001/12/11 07:52:20 UTC
no such method error!
Hi,
I have just installed Cocoon and I get this message when I try to
view a xml page with a stylesheet
The sitemap handler's sitemap is not available. Please check logs for
the exact error
the error in cocoon.log is : java.lang.NoSuchMethodError
xml :
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<greeting>Hello, world!</greeting>
stylesheet :
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="<http://www.w3.org/1999/XSL/Transform>"
version="1.0">
<xsl:template match="greeting">
<p>
<xsl:value-of />
</p>
</xsl:template>
</xsl:stylesheet>
I get the same error for other xml & xsl pages
any suggestions will be greatly appreciated
tks
Phill
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: no such method error!
Posted by Mauricio Souza Lima <ma...@terra.com.br>.
But the uri of the xsl namespace is inside a <>...
Have you see that?
Regards...
Phillip Gibb wrote:
>
> Hi,
>
> I have just installed Cocoon and I get this message when I try to
> view a xml page with a stylesheet
>
> The sitemap handler's sitemap is not available. Please check logs for
> the exact error
>
> the error in cocoon.log is : java.lang.NoSuchMethodError
>
> xml :
>
> <?xml version="1.0" ?>
> <?xml-stylesheet type="text/xsl" href="test.xsl"?>
> <greeting>Hello, world!</greeting>
>
> stylesheet :
>
> <?xml version="1.0" ?>
> <xsl:stylesheet xmlns:xsl="<http://www.w3.org/1999/XSL/Transform>"
> version="1.0">
> <xsl:template match="greeting">
> <p>
> <xsl:value-of />
> </p>
> </xsl:template>
> </xsl:stylesheet>
>
> I get the same error for other xml & xsl pages
>
> any suggestions will be greatly appreciated
>
> tks
>
> Phill
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
--
Mauricio Souza Lima
Rational Consulting
mauriciosl@terra.com.br
Rua Helena, 140 / cj. 82
São Paulo - SP - Brazil
Fone / Direct: +55 11 3842-7138
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: IBM-jdk-1.3 and cocoon2
Posted by Peter Royal <pr...@managingpartners.com>.
On Tuesday 11 December 2001 09:25 am, you wrote:
> Does anyone here run cocoon2 with ibm-jdk-1.3?
>
> under ibm-jdk the javac compiler won't initialize
> (org.apache.cocoon.components.language.programming.java.Javac).
I had some classpath issues with IBM's JDK 1.3 under linux. I've switch to
Blackdown and its fine.
-pete
--
peter royal -> proyal@managingpartners.com
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: IBM-jdk-1.3 and cocoon2
Posted by Stephan Michels <st...@vern.chem.tu-berlin.de>.
On Tue, 11 Dec 2001, Karl Oie wrote:
> yes, other servlet applications are running fine... what is your env?
stephan@vernjava:~> echo $JAVA_HOME
/usr/lib/java
stephan@vernjava:~> ls -la /usr/lib/java
lrwxrwxrwx 1 root root 18 Dez 7 14:21 /usr/lib/java ->
/usr/lib/IBMJava2/
stephan@vernjava:~> $JAVA_HOME/bin/java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010626 (JIT enabled:
jitc))
>
> -----Original Message-----
> From: Stephan Michels [mailto:stephan@vern.chem.tu-berlin.de]
> Sent: 11. desember 2001 15:32
> To: cocoon-users@xml.apache.org; karl@gan.no
> Subject: Re: IBM-jdk-1.3 and cocoon2
>
>
>
>
> On Tue, 11 Dec 2001, Karl Oie wrote:
>
> > Does anyone here run cocoon2 with ibm-jdk-1.3?
>
> yes
>
> > > under ibm-jdk the javac compiler won't initialize
> > (org.apache.cocoon.components.language.programming.java.Javac).
>
> Hmm, I don't get this message.
>
> Have you set JAVA_HOME ?
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: IBM-jdk-1.3 and cocoon2
Posted by Karl Oie <ka...@gan.no>.
yes, other servlet applications are running fine... what is your env?
-----Original Message-----
From: Stephan Michels [mailto:stephan@vern.chem.tu-berlin.de]
Sent: 11. desember 2001 15:32
To: cocoon-users@xml.apache.org; karl@gan.no
Subject: Re: IBM-jdk-1.3 and cocoon2
On Tue, 11 Dec 2001, Karl Oie wrote:
> Does anyone here run cocoon2 with ibm-jdk-1.3?
yes
> > under ibm-jdk the javac compiler won't initialize
> (org.apache.cocoon.components.language.programming.java.Javac).
Hmm, I don't get this message.
Have you set JAVA_HOME ?
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: IBM-jdk-1.3 and cocoon2
Posted by Stephan Michels <st...@vern.chem.tu-berlin.de>.
On Tue, 11 Dec 2001, Karl Oie wrote:
> Does anyone here run cocoon2 with ibm-jdk-1.3?
yes
> > under ibm-jdk the javac compiler won't initialize
> (org.apache.cocoon.components.language.programming.java.Javac).
Hmm, I don't get this message.
Have you set JAVA_HOME ?
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
IBM-jdk-1.3 and cocoon2
Posted by Karl Oie <ka...@gan.no>.
Does anyone here run cocoon2 with ibm-jdk-1.3?
under ibm-jdk the javac compiler won't initialize
(org.apache.cocoon.components.language.programming.java.Javac).
mvh karl oie
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: no such method error!
Posted by terracare <te...@mac.com>.
Phil,
You're also missing the select attribute in your <xsl:value-of ... > tag.
Diana
> stylesheet :
>
> <?xml version="1.0" ?>
> <xsl:stylesheet xmlns:xsl="<http://www.w3.org/1999/XSL/Transform>"
> version="1.0">
> <xsl:template match="greeting">
> <p>
> <xsl:value-of />
> </p>
> </xsl:template>
> </xsl:stylesheet>
>
> I get the same error for other xml & xsl pages
>
> any suggestions will be greatly appreciated
>
> tks
>
> Phill
>
>
>
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: no such method error!
Posted by Karl Øie <ka...@gan.no>.
you might got a problem with crimson and xalan fighting for jaxp status in
the classpath, se the faq.
mvh karl øie
-----Original Message-----
From: Phillip Gibb [mailto:phillipg@prism.co.za]
Sent: 11. desember 2001 07:52
To: 'cocoon-users@xml.apache.org'
Subject: no such method error!
Hi,
I have just installed Cocoon and I get this message when I try to
view a xml page with a stylesheet
The sitemap handler's sitemap is not available. Please check logs for
the exact error
the error in cocoon.log is : java.lang.NoSuchMethodError
xml :
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<greeting>Hello, world!</greeting>
stylesheet :
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="<http://www.w3.org/1999/XSL/Transform>"
version="1.0">
<xsl:template match="greeting">
<p>
<xsl:value-of />
</p>
</xsl:template>
</xsl:stylesheet>
I get the same error for other xml & xsl pages
any suggestions will be greatly appreciated
tks
Phill
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>