This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 167
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 )
I agree. Here's the link:
subject: import cannot be resolved
jQuery in Action, 3rd edition