Eclipse compiler & javaee-impl.jar problem

Eclipse compiler produces the following errors, javaee-impl.jar is added to IDEA SDK, compiling with javac works as expected. Eclipse or IDEA bug?

Information:Compilation completed with 5 errors and 2 warnings
Information:5 errors
Information:2 warnings
/Users/yann/Documents/Projekte/s2plugin_svn/project/plugin/src/com/intellij/struts2/dom/struts/impl/StrutsPathReferenceConverterImpl.java
Error:Error:line (29)The import com.intellij.psi.impl.source.jsp.WebDirectoryUtil cannot be resolved
Error:Error:line (83)WebDirectoryUtil cannot be resolved to a type
Error:Error:line (83)WebDirectoryUtil cannot be resolved
Error:Error:line (120)WebDirectoryUtil cannot be resolved to a type
Error:Error:line (120)WebDirectoryUtil cannot be resolved

Please sign in to leave a comment.