Fail resolving external library

Answered

I'm trying to connect spring security library to my project using Maven. Library have been downloaded successfully:

org.springframework.security.core

But when i'm trying to extend my class from 

org.springframework.security.core.userdetails.User

 Intellij says, that can not resolve it. But other classes and interfaces from: org.springframework.security.core.userdetails resolving well.

When i goes to external library tree and opened org.springframework.security.core  library i saw User.class like this (see screanshot above)

Please, if anyone knows something about this problem, I'll be very thankful for any information

 

Windows 7

Intellij IDEA version 2017.2.4 Ultimate

Java version 1.8.0_144

Maven version 3.5.0

 

0
2 comments

Looks like some incorrect file type mapping, like http://stackoverflow.com/a/13374653/104891.

1
Avatar
Permanently deleted user

Thanx a lot. It solved my problem

0

Please sign in to leave a comment.