You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed an issue when using Devtools, ./gradlew bootTestRun, and Testcontainers (and I'm using Postgres, though I don't know if that matters) where the app either refuses to start (such as in IntelliJ) or refuses to reload new types. the issue seems to go away when I put public on the generated test class with a main(String [] args) method. Ideally, Devtools wouldn't care about a non-public class for the main method, and I've asked about that here
The text was updated successfully, but these errors were encountered:
snicoll
changed the title
please make the generated main(String[] args) test class public
Make the generated main(String[] args) test class publicJun 14, 2023
I've noticed an issue when using Devtools,
./gradlew bootTestRun
, and Testcontainers (and I'm using Postgres, though I don't know if that matters) where the app either refuses to start (such as in IntelliJ) or refuses to reload new types. the issue seems to go away when I putpublic
on the generated test class with amain(String [] args)
method. Ideally, Devtools wouldn't care about a non-public class for themain
method, and I've asked about that hereThe text was updated successfully, but these errors were encountered: