This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Security and the fly likes  import cannot be resolved Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark " import cannot be resolved" Watch " import cannot be resolved" New topic

import cannot be resolved

majid nakit
Ranch Hand

Joined: Jun 26, 2001
Posts: 164
I am trying to learn spring security, I found a tutorial, when I import it in Eclipse I got an error in this import line :

the error says :
The import cannot be resolved

Please your help is appreciated.
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

can you put a link to the tutorial. I think it would be interesting for me and others to know about it.
Also, tell us your environment. Is it Tomcat?
It seems like the tutorial you downloaded failed to include a jar containing the missing class (or it was expecting you to run it in a Application server like Jboss or Glassfish instead of Tomcat).

I think if you got the ejb jar from somewhere, and added it to your eclipse library path, it would resolve this. ( or if you already have an application server configured in eclipse, the tutorial is missing a setting pointing out the library, you would need to add the location of that missing jar to your eclipse library setting )
It is sorta covered in the JavaRanch Style Guide.
subject: import cannot be resolved
Similar Threads
Import Problem
import cannot be resolved
Tomcat deployement Problem SEVERE: Error listenerStart
Pls find the error
HELP please with SQL Server