You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Paul G. Joseph" <pj...@gmail.com> on 2014/05/13 14:55:09 UTC
compile-build.xml:79: java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
Hi there,
I am trying to compile Cocoon 2.1.11 in Eclipse (Luna, version 4.4).
I get:
BUILD FAILED
C:\cocoon-2.1.11\tools\targets\compile-build.xml:79:
java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
The problem is this api is supposed to be in xalan-2.7.1.jar and I do
have xalan-2.7.1.jar on the build path and the jar file is where it is
specified to be per the Eclipse build path.
I am using jdk1.6.0_21 from Oracle (Java SE).
Any ideas would be appreciated.
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: compile-build.xml:79: java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
Posted by "Paul G. Joseph" <pj...@gmail.com>.
That works nicely. It is only inside Eclipse that the problem arises...
On 5/13/2014 10:49 AM, warrell harries wrote:
> Try the standalone pure ant build outside of Eclipse environment e.g.
> from a command line
>
> Cheers
>
> W
>
>
> On 13 May 2014 13:55, Paul G. Joseph <pjoseph@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hi there,
>
> I am trying to compile Cocoon 2.1.11 in Eclipse (Luna, version 4.4).
>
> I get:
> BUILD FAILED
> C:\cocoon-2.1.11\tools\targets\compile-build.xml:79:
> java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
>
> The problem is this api is supposed to be in xalan-2.7.1.jar and I
> do have xalan-2.7.1.jar on the build path and the jar file is
> where it is specified to be per the Eclipse build path.
>
> I am using jdk1.6.0_21 from Oracle (Java SE).
>
> Any ideas would be appreciated.
>
> Paul
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> <ma...@cocoon.apache.org>
> For additional commands, e-mail: users-help@cocoon.apache.org
> <ma...@cocoon.apache.org>
>
>
Re: compile-build.xml:79: java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
Posted by warrell harries <wa...@gmail.com>.
Try the standalone pure ant build outside of Eclipse environment e.g. from
a command line
Cheers
W
On 13 May 2014 13:55, Paul G. Joseph <pj...@gmail.com> wrote:
> Hi there,
>
> I am trying to compile Cocoon 2.1.11 in Eclipse (Luna, version 4.4).
>
> I get:
> BUILD FAILED
> C:\cocoon-2.1.11\tools\targets\compile-build.xml:79: java.lang.NoClassDefFoundError:
> org/apache/xpath/XPathAPI
>
> The problem is this api is supposed to be in xalan-2.7.1.jar and I do have
> xalan-2.7.1.jar on the build path and the jar file is where it is specified
> to be per the Eclipse build path.
>
> I am using jdk1.6.0_21 from Oracle (Java SE).
>
> Any ideas would be appreciated.
>
> Paul
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>