facebook

Somethings causing JSP validation to fail in some projects

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #240831 Reply

    rpray
    Member

    I have a workspace with 5 web projects in it. The JSP validation works for some of them, but not for others. One project in particular has developed the problem recently. It used to work, but now I can put a syntax error in any of the .JSP files and it simply ignores them and tells me everything is fine. So we have to wait until we deploy the project to find simple compile errors.

    This project is a fairly large project (493 jsp files) that uses use beans, tag files, multiple levels of jsp includes and lots of scriplets.

    I have tried to reproduce this problem on a smaller test project, but have not been able to do it. Do you have any suggestions of what might be causing this problem?

    I am using myeclipseide 3.8.4+QF2(build id: 200502031200-3.8.4+QF2) with eclipse 3.0.2(Build id: 200503110845) on Windows XP using j2sdk1.4.2_09. I have JAVA_HOME=c:\j2sdk1.4.2_09 set in my environment.

    thanks,
    Rick.

    #240858 Reply

    Scott Anderson
    Participant

    Rick,

    Very peculiar. On the projects that no longer validate, will you please reverify their settings at Window > Preferences > MyEclipse > Validation and Properties > MyEclipse-Validation from the context menu shown when you right-click on the project in the Package Explorer view.

    The issue is likely that you’ve run over the “maximum errors” that are reported which are configured in these two places. Just change the default from 25 to 500 and see if that restores validation when you resave an invalid file.

    #242551 Reply

    jarethk
    Member

    I’ve had a similar problem. All of my web projects use the workspace settings which do include the JSP Validator. I’ve increased the maximum errors, and even re-created the Eclipse project from scratch but only 1 application is reporting jsp compiling errors.

    I’m using Eclipse 3.1.1 with MyEclipse 4.0.3

    #242617 Reply

    jarethk
    Member

    I found the solution in another <a href=”http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10031.html”>thread</a&gt;. Once I added my JDK’s /bin folder to my system PATH, restarted Eclipse, and ran a Project Clean, then all jsp errors showed up.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Somethings causing JSP validation to fail in some projects

You must be logged in to post in the forum log in