You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Vadim Chekan <ko...@gmail.com> on 2008/08/23 02:15:12 UTC
Ognl
I'm trying to create a filter and use ognl. But I'm getting error:
Failed to execute main task. Reason: java.lang.NoClassDefFoundError:
ognl/OgnlException
When I try to use "el" I get:
Failed to execute main task. Reason: java.lang.NoClassDefFoundError:
de/odysseus/el/util/SimpleContext
I have camel-juel-1.4.0.jar and camel-ognl-1.4.0.jar in my activemq/lib folder.
Any ideas?
--
>From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
is explicitly specified
Re: Ognl
Posted by Vadim Chekan <vc...@cox.net>.
Ah, you are right. I forgot that camel-* does not contain the actual
library. It works now.
Thanks,
Vadim.
Jon Anstey wrote:
> Many of the components require extra jars on the classpath to use. When you
> depend on Camel components via Maven, you get their transitive dependencies
> for free - very nice. In your case though, you'll need to grab them manually
> from here (and drop them in the lib dir):
>
> http://repo1.maven.org/maven2/ognl/ognl/2.7.3/ognl-2.7.3.jar
> http://repo1.maven.org/maven2/de/odysseus/juel/juel/2.1.0/juel-2.1.0.jar
>
> Cheers,
> Jon
>
> On Fri, Aug 22, 2008 at 9:45 PM, Vadim Chekan <ko...@gmail.com> wrote:
>
>> I'm trying to create a filter and use ognl. But I'm getting error:
>> Failed to execute main task. Reason: java.lang.NoClassDefFoundError:
>> ognl/OgnlException
>>
>> When I try to use "el" I get:
>> Failed to execute main task. Reason: java.lang.NoClassDefFoundError:
>> de/odysseus/el/util/SimpleContext
>>
>> I have camel-juel-1.4.0.jar and camel-ognl-1.4.0.jar in my activemq/lib
>> folder.
>>
>> Any ideas?
>>
>> --
>> From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
>> is explicitly specified
>>
>
Re: Ognl
Posted by Jon Anstey <ja...@gmail.com>.
Many of the components require extra jars on the classpath to use. When you
depend on Camel components via Maven, you get their transitive dependencies
for free - very nice. In your case though, you'll need to grab them manually
from here (and drop them in the lib dir):
http://repo1.maven.org/maven2/ognl/ognl/2.7.3/ognl-2.7.3.jar
http://repo1.maven.org/maven2/de/odysseus/juel/juel/2.1.0/juel-2.1.0.jar
Cheers,
Jon
On Fri, Aug 22, 2008 at 9:45 PM, Vadim Chekan <ko...@gmail.com> wrote:
> I'm trying to create a filter and use ognl. But I'm getting error:
> Failed to execute main task. Reason: java.lang.NoClassDefFoundError:
> ognl/OgnlException
>
> When I try to use "el" I get:
> Failed to execute main task. Reason: java.lang.NoClassDefFoundError:
> de/odysseus/el/util/SimpleContext
>
> I have camel-juel-1.4.0.jar and camel-ognl-1.4.0.jar in my activemq/lib
> folder.
>
> Any ideas?
>
> --
> From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
> is explicitly specified
>