File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!