'Open Gradle Project in Netbeans 12
When i open a gradle project in Netbeans 12 i have this message:
"Project Problems: Priming Build Required" "Description: In order to be able to read this project, NetBeans needs to execute its Gradle scripts as priming build.Executing Gradle scripts allows arbitrary code execution, as current user, on this system." (My gradle project works without Netbeans IDE.) What means this? I want more details. Netbeans version: 12 Gradle version: 6.5 Java Version: 14.0.2
Solution 1:[1]
For me the solution was to check down right "unread notification" You have (1) unread notification
For me the problem was with test dependency that was as SNAPSHOT version. e.g. testImplementation ("com.company:some-package:1.10-SNAPSHOT") Then the error was: java.nio.file.InvalidPathException: Illegal char <:> at index 31: com.company\some-package:1.10-SNAPSHOT\20201124.210844-10
After solving this issue (changed dependency), testImplementation ("com.company:some-package:1.10.0") the project was loaded correctly.
Solution 2:[2]
In my case it's due to dependency issue. To fix dependency issue I
- upgrade the gradle version.
- add missing imports in build.gradle
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Andy |
Solution 2 |