Could not instantiate feature[compiler.ExpressionFactory]: com.sun.el.ExpressionFactoryImpl 

Joined:
04/09/2007
Posts:
565

February 13, 2010 22:52:18
This runtime error happens when the Sun EL implementation is not available. Look for the class com.sun.el.ExpressionFactoryImpl in your deployment package, you probably won't find it, or you'll find a version that can't be loaded in your deployment environment.

If you are using Maven to build, you can add the following repository and dependency in pom.xml:
<!-- Project dependencies -->
    <dependencies>
	<dependency>
	    <groupId>com.sun.el</groupId>
	    <artifactId>el-ri</artifactId>
	    <version>1.0</version>
            <scope>runtime</scope>
	</dependency>
    </dependencies>

    <repositories>
<!-- Repository for EL -->
	<repository>
	    <id>maven2-repository.dev.java.net</id>
	    <name>Java.net Repository for Maven</name>
	    <url>http://download.java.net/maven/2/</url>
	    <layout>default</layout>
	</repository>
    </repositories>
[ Comment  | Tags ]
3 comments  
Easy email testing with http://www.ximailstop.com