Results 1 to 3 of 3
  1. #1
    vetalok is offline Member
    Join Date
    Aug 2008
    Posts
    4
    Rep Power
    0

    Exclamation Classpath is broken after Ctrl+S

    After I have pressed Ctrl+S (Save) eclipse can not find files from the same package in the project I'm developing (many red lines in editor saying "class can not be resolved to a type").
    What is wrong? Any ideas? Thanks.

    Eclipse Platform
    Version: 3.4.0
    Build id: I20080617-2000

  2. #2
    RamSun is offline Member
    Join Date
    Aug 2008
    Posts
    4
    Rep Power
    0

    Default

    Plz check the file again any semicolon or brace is missing

  3. #3
    vetalok is offline Member
    Join Date
    Aug 2008
    Posts
    4
    Rep Power
    0

    Default

    Thanks RamSun, but the srcs contains no errors.
    Ant compiles the same sources well. There is no problem with srcs, it is eclipse problem. The usecase:
    1. Editing some java file. No errors, no warnings.
    2. Saving. No errors, no warnings.
    3. Add whitespace (or do nothing) somewhere in the source file. Errors which I have described above will appear.
    Only these steps helps, but for few minutes till the next saving:
    1. Project->Java build path->Source tab, select my projects srcs, "remove", save.
    2. Project->Java build path->Source tab, add my projects srcs, save.
    Any other ideas?

Similar Threads

  1. Write ctrl-z characters
    By jithan in forum New To Java
    Replies: 3
    Last Post: 02-18-2009, 03:11 AM
  2. Imports broken in JSP; HTTP Status 500-
    By Aerinai in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 06-13-2008, 10:27 PM
  3. Run method on Ctrl+Shift+D
    By Echilon in forum AWT / Swing
    Replies: 1
    Last Post: 02-16-2008, 10:31 PM
  4. Broken korean characters Urgent help needed!
    By priyap3 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 01-14-2008, 09:40 AM

Posting Permissions

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