You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by mi...@telia.fi on 2001/01/25 10:07:25 UTC

Enhydra4.0a4 and cocoon 2

Has anybody tried to install cocoon 2 on enhydra enterprise?

I copied the war file to the enhydra webapps dir and added a new webapp (war)

The error I get is when accessing /cocoon is:

java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
getQName(I)Ljava/lang/String; not found

Any suggestions?



Re: Enhydra4.0a4 and cocoon 2

Posted by Paul Russell <pa...@luminas.co.uk>.
* mika.borner@telia.fi (mika.borner@telia.fi) wrote :
> Has anybody tried to install cocoon 2 on enhydra enterprise?
> I copied the war file to the enhydra webapps dir and added a new webapp (war)
> The error I get is when accessing /cocoon is:
> java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
> getQName(I)Ljava/lang/String; not found
> Any suggestions?

Probably a FAQ, but just in case:

Cocoon2 requires the latest version of SAX (Simple API for XML. um, I
think). You probably have an old version of SAX somewhere in your EE
classpath. Try removing jaxp.jar and parser.jar from EE's lib directory
(if it has one), and place xerces.jar from the cocoon installation there
instead. Warning: Do not blame us if you cut off your toes accidently
while attempting this operation. Back stuff up, you know it makes sense.


Paul.

-- 
Paul Russell                                 Email:   paul@luminas.co.uk
Technical Director                             Tel:  +44 (0)20 8553 6622
Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
This is not an official statement or order.    Web:    www.luminas.co.uk