...but when I use it in the Spring tests like: ```...
# announcements
x
...but when I use it in the Spring tests like:
Copy code
@SpringWebMockMvcTest
@RunWith(SpringRunner::class)
//@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
class PersonRouterTest {
  private lateinit var client: WebTestClient

  @LocalServerPort
  private var port: Int? = null
It says:
this annotation is not applicable to target 'class'