Comments (7)
This is a known issue with open jdk (https://bugs.openjdk.java.net/browse/JDK-8212233). Looks like you are using openjdk instead of Oracle's java. You can either build the project using jdk 1.8 (instead of 12) or download from complied package from maven central repository: https://search.maven.org/search?q=a:mltk
from mltk.
Right you are!
I ended up having to do this I think:
brew install caskroom/version/java8
brew cask install homebrew/cask-versions/adoptopenjdk8
brew install gpg
I can get the jar, but I want to know how to build it, in case anything has to be fixed.
from mltk.
glad to see everything works!
from mltk.
For my own records: mvn install
actually still didn't work, but for a different reason.
gpg: no default secret key: No secret key
gpg: signing failed: No secret key
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.816 s
[INFO] Finished at: 2019-04-24T13:03:01-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) on project mltk: Exit code: 2 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
However, I was able to build the jars with mvn test
.
The java world seems to have become somewhat fragile.
Anyway, thanks for your help.
from mltk.
It occurs to me that one way to be more precise about this is to have a Dockerfile that builds the jar. That would very definitely specify the actual dependencies needed and end up with a jar.
I'm not saying you have to do it, just thinking out loud.
from mltk.
I can't repeat your problem. I'm using a clean docker image and build from scratch. gpg
is not installed.
from mltk.
I appreciate you trying.
I am installing on OS X, so I didn't currently try on docker. Just post your Dockerfile here for reference, and don't worry about it unless I come back for more. :)
from mltk.
Related Issues (14)
- Need for programmatic setup of datasets HOT 2
- Documentation is missing many important details HOT 4
- Regression trees cause GC churn HOT 3
- could you provide some working data set?
- Add MLTK to Maven Central HOT 1
- Support for data already in program HOT 2
- JAR file HOT 1
- How to run GA2M with FAST? HOT 2
- is normalization step needed in feature preparation? HOT 1
- ElasticNet results inconsistent HOT 1
- Residuals not saved when building GAM HOT 4
- Typo in DoublePairComparator HOT 1
- GAM plots with nominal interaction terms HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mltk.