Search code examples
tomcatintellij-ideacdiweld

tomcat 7.0 + JSF + CDI support in intellij idea


I get this error during tomcat load:

C:\Projects\asdf\ejb7\out\artifacts\ejb7_war_exploded\WEB-INF\lib\weld-se.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class

I've created project with web and CDI support in Intellij IDEA. What's wrong here?

Thanx.


Solution

  • You should be using the weld-servlet jar instead of the SE jar.