I use IntelliJ IDEA and write Spring project.
I added dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
and more related to Spring Boot. I cannot import SpringApplicationContextLoader using:
import org.springframework.boot.test.SpringApplicationContextLoader
But I see many projects on GitHub which use this class.
How can I check current package of this class?
According to javadoc of SpringApplicatioNContextLoader
a.4.x it was deprecated in favor of @SpringBootTest
or SpringBootContextLoader
if absolutely necessary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With