-
Modify line
18in pom.xml file according to your java major version.You can use the following command to check you java version:
java --versionFor example, if you are using java 17, then modify that line to be:
<java.version>17</java.version>
-
Run the following command in PowerShell:
del *.db; start .\mvnw.cmd spring-boot:run
-
Install flutter with SDK of a less
3.0.0version from https://dart.dev/get-dart/archive. -
Get the path from where flutter SDK is installed using the command:
flutter doctor -v -
Remove the file
flutter_tools.stampinsideflutter\bin\cache. -
Open
flutter\packages\flutter_tools\lib\src\web\chrome.dartfile. -
Find
--disable-extensionsand add--disable-web-securityafter it. -
Install dependencies using the following command in PowerShell:
flutter pub get
-
Run the app using the following command in PowerShell:
flutter run -d chrome --no-sound-null-safety