Results 1 to 3 of 3

Thread: Roo STS problem: intermittent ClassNotFoundException on jspx files

  1. #1
    Join Date
    Sep 2005
    Posts
    27

    Default Roo STS problem: intermittent ClassNotFoundException on jspx files

    I'm using STS 2.5.2 with Roo 1.1.1. One problem I have seen throughout multiple versions of STS with Roo is that I occasionally see this type of exception when viewing my web-app, which obviously causes the view in question to not load:

    Code:
    java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.views.someView_jspx
    This is on a view that absolutely exists and worked just moments ago without any modifications to it whatsoever. It happens a lot actually. I can isolate it to anytime the server is started fresh (or restarted,) i.e. it doesn't happen "mid-stream" if the server is already running without error. The only thing that seems to fix it is to stop the server, do a "Clean tc Server Work Directory," and then start the server. I'm deploying to an instance of SpringSource tc Server Developer Edition v2.0. Has anyone else seen this or have a better solution than constantly cleaning the tc server work directory?
    -Matt

  2. #2
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    I see similar problems with Tomcat 6, though usually something occurred that broke the code.
    I also resort to cleaning the dirs as well as a clean rebuild. The latter is due to recurring crashes, which also forces me to force quit the Tomcat server, before I can start it again.

  3. #3
    Join Date
    Sep 2005
    Posts
    27

    Default

    Well at least I know it's not just me! I wish there were a way to prevent this.
    -Matt

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •