You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Hassan Abolhassani <Ha...@razorfish.com> on 2002/08/14 07:06:01 UTC

class not found error

On linux/tomcat/cocoon 2.0.3, i receive following error:

----
java.lang.ClassNotFoundException: org/apache/xml/dtm/ref/IncrementalSAXSource_Xe
rces
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:130)
        at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.jav
a:269)
        at org.apache.xpath.XPathContext.getDTM(XPathContext.java:169)
        at org.apache.xpath.SourceTreeManager.parseToNode(SourceTreeManager.java
:345)
        at org.apache.xpath.SourceTreeManager.getSourceTree(SourceTreeManager.ja
va:316)
        at org.apache.xalan.templates.FuncDocument.getDoc(FuncDocument.java:316)
        at org.apache.xalan.templates.FuncDocument.execute(FuncDocument.java:235
)
        at org.apache.xpath.Expression.asIterator(Expression.java:273)
        at org.apache.xpath.axes.FilterExprWalker.setRoot(FilterExprWalker.java:
156)
        at org.apache.xpath.axes.WalkingIteratorSorted.reset(WalkingIteratorSort
ed.java:292)
        at org.apache.xpath.axes.LocPathIterator.setRoot(LocPathIterator.java:37

-----

Do anybody has any clue what might be wrong?

Regards,
Hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: class not found error

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 14.Aug.2002 -- 02:06 PM, Hassan Abolhassani wrote:
> On linux/tomcat/cocoon 2.0.3, i receive following error:
> 
> java.lang.ClassNotFoundException: org/apache/xml/dtm/ref/IncrementalSAXSource_Xe
> rces
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:130)
>         at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.jav
> a:269)
>         at org.apache.xpath.XPathContext.getDTM(XPathContext.java:169)
>         at org.apache.xpath.SourceTreeManager.parseToNode(SourceTreeManager.java
> :345)
>         at org.apache.xpath.SourceTreeManager.getSourceTree(SourceTreeManager.ja
> va:316)
>         at org.apache.xalan.templates.FuncDocument.getDoc(FuncDocument.java:316)
>         at org.apache.xalan.templates.FuncDocument.execute(FuncDocument.java:235
> )
>         at org.apache.xpath.Expression.asIterator(Expression.java:273)
>         at org.apache.xpath.axes.FilterExprWalker.setRoot(FilterExprWalker.java:
> 156)
>         at org.apache.xpath.axes.WalkingIteratorSorted.reset(WalkingIteratorSort
> ed.java:292)
>         at org.apache.xpath.axes.LocPathIterator.setRoot(LocPathIterator.java:37
> 
> 
> Do anybody has any clue what might be wrong?

It looks like xalan / xerces helper classes are not found. Most
likely, you are running jdk 1.4 that comes with some out-of-date xalan
/ xerces classes that got mixed up with the ones provided by Apache
Cocoon. Or the ones provided by Apache Tomcat got mixed with the
Cocoon ones.

Look for install instructions for your version of jdk / servlet
container.

Generally, updating to the latest versions of Tomcat / Cocoon for
_your_ _JDK_ _version_ should solve this problem.

	Chris.

Please follow up summarizing your problem and which suggested solution
/ information worked for you when you consider your problem
solved. Add "SUMMARY: " to the subject line. This will make FAQ
generation and searching the list easier. In addition, it makes
helping you more fun. Thank you.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org