skip closed projects
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/taglib/TaglibHelper.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/taglib/TaglibHelper.java
index 7fd3408..ddc7886 100644
--- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/taglib/TaglibHelper.java
+++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/taglib/TaglibHelper.java
@@ -332,8 +332,8 @@
      */
     private void addClasspathEntriesForProject(IProject p, TaglibClassLoader loader) {
        
-        // avoid infinite recursion
-        if(fProjectEntries.contains(p.getFullPath().toString()))
+        // avoid infinite recursion and closed project
+        if(!p.isAccessible() || fProjectEntries.contains(p.getFullPath().toString()))
             return;
         fProjectEntries.add(p.getFullPath().toString());