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

Geertjan Wielenga commented on NETBEANS-2135:
---------------------------------------------

If I remove this within the java9plus profile, the problem is gone, i.e., this 
is the cause of the problem:

              <execution>
                <id>base-compile</id>
                <goals>
                  <goal>compile</goal>
                </goals>
                <configuration>
                  <excludes>
                    <exclude>module-info.java</exclude>
                  </excludes>
                </configuration>
              </execution>

> False positive error messages
> -----------------------------
>
>                 Key: NETBEANS-2135
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2135
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 10.0
>         Environment: Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> OpenJDK Runtime Environment 11.0.2+7
>            Reporter: Björn Raupach
>            Priority: Major
>
> I am experiencing false positive parser error messages in the Java editor 
> when working on a Java Maven project.
> I can check out the project, compile it and run alle Unit tests, but the 
> editor lists many errors. 
>  * modules are not supported in -source 8 (use -source 9 or higher to enable 
> modules)
>  * package X does not exist
>  * cannot access java.lang Fatal Error: Unable to find java.lang in classpath 
> or bootclasspath
>  * cannot find symbol
> It is easy to reproduce. Just check out the GitHub project ThreeTen-Extra and 
> open the directory with NetBeans.
> Here is the link to the original GitHub issue: 
> https://github.com/ThreeTen/threeten-extra/issues/124



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to