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

Björn Raupach commented on NETBEANS-2135:
-----------------------------------------

Hi [~GeertjanWielenga] ,

thank you for your time.

In the pom.xml of ThreeTen-Extra I changed the following lines:
{code:java}
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>{code}
to 
{code:java}
<maven.compiler.source>10</maven.compiler.source>
<maven.compiler.target>10</maven.compiler.target>{code}
The Maven Compiler Plugin has the version 3.8.0 set. No need to change this 
property.

Unfortunately, this has no effect in Apache NetBeans 10.

I am trying to finish my NetCAT 11 assignment this weekend. Maybe this is fixed 
in NetBeans 11? If it is, I will close this ticket. 

> 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