Re: 8.2 Issue
Andreas Ernst <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 30.11.16 um 12:39 schrieb Andreas Ernst:
> Hi,
>
> i got a strange error in my main Module:
>
> Private classes referenced in module: [javax.annotation.Nonnull]
> Project depends on packages not accessible at runtime in module
> org.netbeans.api:org-netbeans-api-annotations-common:jar:RELEASE82
>
> But it is in my main POM as a direct dependency:
>
> [...]
> <dependencies>
> [...]
> <dependency>
> <groupId>org.netbeans.api</groupId>
> <artifactId>org-netbeans-api-annotations-common</artifactId>
> <version>RELEASE82</version>
> </dependency>
> </dependencies>
> [...]
>
> How can i solve this? Normally it helps to declare as direct dependency.
I answer myself ;)
Adding
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>2.0.1</version>
</dependency>
Solved this issue.
--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
[email protected] | www.ae-online.de
www.tachyon-online.de