9 Replies Latest reply on Oct 14, 2005 9:02 AM by David Webster

    1.5M2 JSP Compilation Support ClassCastException

    Greg Adams Newbie

      I've got the following installed on Windows XP:

      Eclipse-SDK-3.1-win32
      emf-sdo-xsd-SDK-I200506230200
      GEF-SDK-3.1RC4
      VE-runtime-I20050623
      JBossIDE-1.5M2-ALL

      When I enable JSP compilation support on a project, I get the following in my error logs:

      Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

      java.lang.ClassCastException: org.eclipse.core.runtime.internal.adaptor.ContextFinder
      at org.apache.jasper.compiler.JspRuntimeContext.(JspRuntimeContext.java:97)
      at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.initializeServletContext(JSPProject.java:546)
      at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.reset(JSPProject.java:388)
      at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.fullBuild(JSPBuilder.java:158)
      at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.build(JSPBuilder.java:120)
      ...


      If I purposefully introduce a syntax error in my jsp, I get no problems in the problems tab (i.e. JSP compilation is not occurring).

      Is anyone else experiencing this problem?

      Thanks for you help, and the integration with Eclipse 3.1 Final is great.

      Greg