I am trying to add BCrypt to my code, but my program won't import the dependency. All I get is the message "Cannot resolve symbol 'BCrypt'" and if I try to look at the informationsymbol, my only alternatives are:
- "Create class 'BCrypt'"
- "Create field 'BCrypt' in 'JavaclassName'"
- "Create local variable 'BCrypt'" and so on...
I tried adding dependency in the pom.xml-file:
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>5.4.6</version>
</dependency>
but it did not help. I also tried:
<dependency>
<groupId>org.mindrot</groupId>
<artifactId>jbcrypt</artifactId>
<version>0.4</version>
</dependency>
but this just gave me red warnign-signs.
I use Intellij, and started a Spring project with SDK java version 11. Hope someone is able to help :)