Can you run "mvn dependency:tree"? It's possible that commons-el is being included or possibly juel and they're causing a conflict.
Matt On Wed, Mar 26, 2008 at 8:26 AM, watcher <[EMAIL PROTECTED]> wrote: > > I'm getting a strange error that I'm unable to solve and I was hoping someone > could give me some pointers. > > I'm using Appfuse version 2.01 SpringMVC , full-source > > I'm attempting to integrate Apache Camel into Appfuse. > Everything works fine until add the camel-juel dependancy to my POM > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-core</artifactId> > <version>1.2.0</version> > </dependency> > > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-juel</artifactId> > <version>1.2.0</version> > <exclusions> > <exclusion> > <artifactId>spring</artifactId> > <groupId>org.springframework</groupId> > </exclusion> > </exclusions> > </dependency> > > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-spring</artifactId> > <version>1.2.0</version> > <exclusions> > <exclusion> > <artifactId>spring</artifactId> > <groupId>org.springframework</groupId> > </exclusion> > </exclusions> > </dependency> > > Now whenever I run mvn jetty:run and attempt to log in it throws the > following error > > java.lang.ClassCastException: de.odysseus.el.ExpressionFactoryImpl cannot be > cast to javax.el.Expres > sionFactory > at > javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:154) > at > javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:125) > at > org.apache.jasper.compiler.JspUtil.getExpressionFactory(JspUtil.java:1166) > at > org.apache.jasper.compiler.JspUtil.validateExpressions(JspUtil.java:628) > at > > org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1341) > > at > > org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:11 > 17) > at > > org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:834) > at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1482) > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257) > at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307) > at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2313) > at org.apache.jasper.compiler.Node$Root.accept(Node.java:481) > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257) > at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307) > at > > org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:525) > at > org.apache.jasper.compiler.Node$IncludeDirective.accept(Node.java:630) > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257) > at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307) > at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2313) > at org.apache.jasper.compiler.Node$Root.accept(Node.java:481) > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257) > at > org.apache.jasper.compiler.Validator.validate(Validator.java:1837) > at > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:195) > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:409) > at > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) > at > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) > at > > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164) > at > org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) > at > > org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) > at > > org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) > at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285) > at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) > at > org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:463) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) > at > > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) > at > > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164) > at > org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) > at > > org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) > at > > org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406) > at > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) > at > > com.opt2vote.easyprint.audit.filter.UserFilter.doFilterInternal(UserFilter.java:37) > at > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75 > > > > I've tried adding other scripting support instead like camel-groovy but I > get LinkageError exceptions. > > Any ideas would be a great help. > Thanks > -- > View this message in context: > http://www.nabble.com/Integrating-Apache-Camel-tp16302997s2369p16302997.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]