Professor, estou tendo o erro abaixo quando executo o comando dentro do terminal:
PS C:\workSpaceAula\SpringBoot\api> java -versionjava version "17.0.6" 2023-01-17 LTS Java(TM) SE Runtime Environment (build 17.0.6+9-LTS-190)Java HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing) PS C:\workSpaceAula\SpringBoot\api> java -Dspring.profiles.active=prod -DDATASOURCE_URL=jdbc:mysql://localhost:3306/vollmed_api -DDATASOURCE_USERNAME=root -DDATASOURCE_PASSWORD=root -jar target/api-0.0.1-SNAPSHOT.jar Error: Could not find or load main class .profiles.active=prodCaused by: java.lang.ClassNotFoundException: /profiles/active=prod
Sabe o que está faltando ?