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 <[EMAIL PROTECTED]> 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
>
  • Ognl Vadim Chekan
    • Re: Ognl Jon Anstey

Reply via email to