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

Compile/run issue with Java 12 and 1.8 #6318

Closed
qqmyers opened this issue Oct 25, 2019 · 2 comments · Fixed by #6320
Closed

Compile/run issue with Java 12 and 1.8 #6318

qqmyers opened this issue Oct 25, 2019 · 2 comments · Fixed by #6320

Comments

@qqmyers
Copy link
Member

qqmyers commented Oct 25, 2019

FWIW: I just tried compiling Dataverse with a Java 12.02 version and while it initially looked OK, when I uploaded a file I got

java.lang.NoSuchMethodError: java.nio.MappedByteBuffer.rewind()Ljava/nio/MappedByteBuffer;
        at edu.harvard.iq.dataverse.ingest.IngestableDataChecker.detectTabularDataFormat(IngestableDataChecker.java:627)

and related errors. This appears to be related to jetty/jetty.project#3244 . I tried a quick test to use the maven release attribute as discussed there but it didn't work. Possibly a newer version of the compiler plugin is needed.

In any case, it looks like compiling with 12.02 and the current pom.xml doesn't produce a war that can be run on a Java 1.8x machine.

@pdurbin
Copy link
Member

pdurbin commented Oct 25, 2019

@qqmyers yuck. Thanks for the bug report. Please see also pull request #5116 and issue #4259.

@qqmyers
Copy link
Member Author

qqmyers commented Oct 25, 2019

@pdurbin - thanks - I've seen those issues, didn't realize it was also a compile issue versus running glassfish4 and everything on it. Hopefully this #6320 PR will at least remove the compile problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants