Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5582

Cannot load newly created Gradle project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 12.3
    • 12.4
    • projects - Gradle
    • None
    • Product Version = Apache NetBeans IDE 12.3
      Operating System = Windows 10 version 10.0 running on amd64
      Java; VM; Vendor = 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27; Oracle Corporation

    Description

      Create new Gradle project: File / New Project... / Java with Gradle, Java Application.
      Generated project attached.
      This project appears unloadable, see attached screenshots.
      NetBeans log attached contains this error message:

      groovy.lang.MissingPropertyException: Could not get unknown property 'compileConfigurationName' for source set 'main' of type org.gradle.api.internal.tasks.DefaultSourceSet.

      Same problem with loading my old Gradle project which I used to develop in NetBeans.
      Both projects can build without errors.

      Attachments

        1. gradleproject1.rar
          0.4 kB
          Eugene Pliskin
        2. messages.log
          218 kB
          Eugene Pliskin
        3. screenshot1.png
          90 kB
          Eugene Pliskin
        4. screenshot2-gradle.png
          52 kB
          Eugene Pliskin

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              eugene-p Eugene Pliskin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: