[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error Instantiating ExpressionFactory

Shadee do-not-reply at jboss.com
Mon Mar 30 06:39:38 EDT 2009


I'm using richfaces and spring on jboss. I wanted to switch to jboss-EL, so I added:


  |   <context-param>
  |     <param-name>com.sun.faces.expressionFactory</param-name>
  |     <param-value>org.jboss.el.ExpressionFactoryImpl</param-value>
  |   </context-param>
  | 

to web.xml Howerver when I start server now I got:


  | 12:25:50,046 FATAL [config] Error Instantiating ExpressionFactory
  | java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.el.ExpressionFactoryImpl
  | 	at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  | 	at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
  | 	at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
  | 	at java.lang.Class.forName0(Native Method)
  | 	at java.lang.Class.forName(Class.java:169)
  | 	at com.sun.faces.config.ConfigureListener.installExpressionFactory(ConfigureListener.java:1521)
  | 	at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1540)
  | 	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:403)
  | 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
  | 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
  | 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
  | 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
  | 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | 

I even added jar with jboss-el to lib folder and I can call it in Java code. I've tried to search about this problem and I found similar problem, but solution is for GlasFish: http://forums.java.net/jive/thread.jspa?messageID=297909
Anyone could help me with this one please?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221910#4221910

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221910



More information about the jboss-user mailing list