• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

All of a sudden many of my imports are underlined in red, that goes away when I retype them..

 
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All of the org.richfaces imports are all of a sudden underlined in red, and of course any thing in the code that uses them. So of course my jsf pages that use these beans will not load. When i tried to load one I see:



Is my prject broken now, do I need to recreate everything, or is there a way to fix this...I really have no idea what is going on here.

All I did was add in httpclient-commons jar to get some httpclient stuff working, restarted eclipse a few times, and upon about third time restarting this happens all of a sudden. ANy ideas?
 
Matt Kohanek
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm, I was able to retype everything that was in red, and the errrs went away, but when tryint o run a page I stil see that error stack.
 
Matt Kohanek
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
and now this



man...
 
author and cow tipper
Posts: 5001
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've seen stuff like that happen when source control is turned on and the files are read only. Any chance?

-Cameron McKenzie
 
Matt Kohanek
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dont even know how to do that lol.
but its moot now, I made a newe project and it is working betetr than that one so Im happy with it
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please note that, if you are using eclipse, and this happens when you use source control, there is a fiile in the project root folder that doesn't appear in the workspace called classpath.
if this is not correct then the project doesn't execute correctly.
this can also be checked in the build path in the project properties
 
Saloon Keeper
Posts: 24292
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Moh Afifi wrote:please note that, if you are using eclipse, and this happens when you use source control, there is a fiile in the project root folder that doesn't appear in the workspace called classpath.
if this is not correct then the project doesn't execute correctly.
this can also be checked in the build path in the project properties



A small clarification. The file in question is named ".classpath". The dot at the beginning is part of the Unix convention that filenames beginning with a dot are "hidden" files. Unlike Windows, the Unix filesystems didn't invest very heavily in file attributes like the System bit.

Although the Eclipse Java explorer doesn't show this file or its partner in crime ".project", you can see them when using the Resource view. Normally you won't edit the raw text, however, since the GUI editors in Project Properties will do the job for you.
 
Moh Afifi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:A small clarification.


thanks for clearing it out. that's actually what i meant.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic