Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on com.sun:tools #134

Closed
h908714124 opened this issue Sep 30, 2017 · 4 comments
Closed

Remove dependency on com.sun:tools #134

h908714124 opened this issue Sep 30, 2017 · 4 comments
Assignees
Labels
type=defect Bug, not working as expected

Comments

@h908714124
Copy link

Otherwise, it seems it cannot work on JDK 9

@ptahchiev
Copy link

I have the same issue - unable to build my project because of:

[INFO] ------------------------------------------------------------------------
[INFO] Building Platform Core 2.0.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.729 s
[INFO] Finished at: 2017-11-03T15:32:32+02:00
[INFO] Final Memory: 34M/113M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nemesis-platform-core: Could not resolve dependencies for project com.nemesis.platform:nemesis-platform-core:jar:2.0.0.BUILD-SNAPSHOT: Could not find artifact com.sun:tools:jar:9 at specified path /usr/lib/jvm/java-9-oracle/../lib/tools.jar -> [Help 1]

@netdpb netdpb self-assigned this Nov 6, 2017
@netdpb netdpb added the type=defect Bug, not working as expected label Nov 6, 2017
@netdpb
Copy link
Member

netdpb commented Nov 6, 2017

We're working on this. It's really a dependency on tools.jar, which doesn't exist in JDK9.

@ptahchiev
Copy link

For me it just worked when I excluded the tools.jar:

        <dependency>
            <groupId>com.google.testing.compile</groupId>
            <artifactId>compile-testing</artifactId>
            <scope>test</scope>
            <exclusions>
               <exclusion>
                  <groupId>com.sun</groupId>
                  <artifactId>tools</artifactId>
               </exclusion>
            </exclusions>
        </dependency>

@netdpb
Copy link
Member

netdpb commented Nov 16, 2017

This issue is fixed by c2f3634, which will be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type=defect Bug, not working as expected
Projects
None yet
Development

No branches or pull requests

3 participants