1 Reply Latest reply: Nov 19, 2012 6:48 AM by Kalyan Pasupuleti-Oracle RSS

    java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()

    Navaneetha Krishnan Nataraj
      I am using jackrabbit jar from http://www.apache.org/dyn/closer.cgi/jackrabbit/2.4.3/jackrabbit-standalone-2.4.3.jar in an ADF application that is deployed in weblogic 10.3.5 server.
      When i run the page, the following error is shown.

      <Nov 14, 2012 3:51:43 PM CST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;.
      java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
           at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:96)
           at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:592)
           at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216)
           at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           Truncated. see log file for complete stacktrace
      >
      <Nov 14, 2012 3:51:43 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1352929897992' for task '3'. Error is: 'weblogic.application.ModuleException: '
      weblogic.application.ModuleException:
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
           at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:96)
           at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:592)
           at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216)
           at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)


      Looks like a conflict in the libraries used by the jackrabbit and weblogic.
      How can we resolve this issue?

      Thanks in advance,
      Navaneeth