[ 
https://issues.apache.org/jira/browse/NETBEANS-6401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483269#comment-17483269
 ] 

Matthias Bläsing commented on NETBEANS-6401:
--------------------------------------------

Should be fixed via:

[https://github.com/apache/netbeans/pull/3506]

[https://github.com/apache/netbeans/pull/3506/commits/43cda59de35bbb488c42bfb946f5ccf227ee2d43]

> Newly created Micronau project is not open in NB
> ------------------------------------------------
>
>                 Key: NETBEANS-6401
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6401
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javaee - Micronaut
>    Affects Versions: 12.6
>         Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39
> *Runtime:* Java(TM) SE Runtime Environment 17.0.1+12-LTS-39
> *System:* Mac OS X version 12.1 running on x86_64; UTF-8; en_GB (nb)
> *User directory:* /Users/mbalin/Library/Application Support/NetBeans/12.6
> *Cache directory:* /Users/mbalin/Library/Caches/NetBeans/12.6
>  
>            Reporter: Martin Balin
>            Assignee: Matthias Bläsing
>            Priority: Major
>
> Select File | New project
> then Java with Maven > Micronaut Project OR Java with Gradle > Micronaut 
> Project
> Name it {{{}MicronautProject{}}}. Leave all defaults on MN v. is 3.2.7 Java 
> is 8 , step through and click Finish.
> Project is created on disk properly but it is not open in IDE.
> Structure on disk is: 
> {{{_}<my_test_projects_folder>{_}/MicronautProject/MicronautProject }}then 
> there are \{{src }}and{{ pom.xml}}
> Open the project in NB and there is Resolve problems window shown "Unable to 
> properly load project" with details:
>  
> {code:java}
> Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-inject:jar is missing. @ line 34, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-validation:jar is missing. @ line 39, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-api:jar is missing. @ line 44, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-engine:jar is missing. @ line 49, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut.test:micronaut-test-junit5:jar is missing. @ line 54, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-client:jar is missing. @ line 59, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-server-netty:jar is missing. @ line 64, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-runtime:jar is missing. @ line 69, column 17
> [ERROR] 'dependencies.dependency.version' for 
> ch.qos.logback:logback-classic:jar is missing. @ line 74, column 17
>  
> {code}
> and Output window has in:
> {code:java}
> cd /Users/mbalin/Development/MicronautProject/MicronautProject; 
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home 
> /Users/mbalin/Development/MicronautProject/MicronautProject/mvnw 
> -DskipTests=true --fail-at-end package
> Cannot run program 
> "/Users/mbalin/Development/MicronautProject/MicronautProject/mvnw" (in 
> directory "/Users/mbalin/Development/MicronautProject/MicronautProject"): 
> error=13, Permission denied{code}
> {{mvnw}} is not executable by default. chmod +x for it and it can be built 
> and project is fixed. Not _unloadable_ anymore.
> Gradle project generated the same way can be open without errors in NB.
> When I create the Micronaut Maven project using NBLS (VSIX) 12.6.301 release 
> then I have mvnw executable and also directory structure is 
> {{{_}<my_test_projects_folder>{_}/demomn2g/mvnw and}} pom.xml....



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to