Hi,
Am Sonntag, dem 20.02.2022 um 09:31 -0600 schrieb Eric Bresie:
> I have pushed my code to Github located at:
>
> https://github.com/ebresie/python4nb
>
> Keeping in mind this is a new implementation (i.e. not based on nbPython)
> which is intended to be LSP based with textmate based highlighting.
>
> Note this is in very early stages of development with a lot still left to
> do (i.e. like get past the problem in this thread).
I think you are seeing the mess caused by NetBeans embracing JSR305 and
that JSR failing. To fix:
- I had to switch to maven-compiler-plugin 3.10.0, 3.9.0 failed with
java.lang.NoClassDefFoundError:
org/codehaus/plexus/compiler/manager/NoSuchCompilerException
for me
- The LSP dependency should be:
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-lsp-client</artifactId>
<version>RELEASE126</version>
</dependency>
- You need to have a provider for the JSR305 annotations:
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<scope>provided</scope>
</dependency>
For the last change, the annotations don't need to be present at
runtime, just to make the classpath scanner of the maven nbm plugin
happy. You can also disable runtime verification for the nbm maven
plugin.
HTH
Matthias
---------------------------------------------------------------------
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