You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@metron.apache.org by Kevin Waterson <ke...@gmail.com> on 2016/08/25 10:45:44 UTC

BUILD FAILURE

So, solved the issue with the POM file, now this...
Does it required SUN's JDK?

Thanks
Kev

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:55 min
[INFO] Finished at: 2016-08-25T20:41:49+10:00
[INFO] Final Memory: 18M/399M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project metron-maas-common: Could not
resolve dependencies for project
org.apache.metron:metron-maas-common:jar:0.2.0BETA: Could not find artifact
sun.jdk:tools:jar:LATEST at specified path
/usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/tools.jar -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command


-- 
-- 
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."

Re: BUILD FAILURE

Posted by Kevin Waterson <ke...@gmail.com>.
got past it.... did not like jdk 9, had to opt for 8.
And then...
ruby

$ vagrant plugin install vagrant-hostmanager
Installing the 'vagrant-hostmanager' plugin. This can take a few minutes...
/usr/lib/ruby/2.3.0/rubygems/specification.rb:946:in `all=': undefined
method `group_by' for nil:NilClass (NoMethodError)
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:275:in
`with_isolated_gem'
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:231:in
`internal_install'
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:102:in `install'
    from /usr/lib/ruby/vendor_ruby/vagrant/plugin/manager.rb:62:in `block
in install_plugin'
    from /usr/lib/ruby/vendor_ruby/vagrant/plugin/manager.rb:72:in
`install_plugin'
    from
/usr/share/vagrant/plugins/commands/plugin/action/install_gem.rb:37:in
`call'
    from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:34:in `call'
    from /usr/lib/ruby/vendor_ruby/vagrant/action/builder.rb:116:in `call'
    from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `block in
run'
    from /usr/lib/ruby/vendor_ruby/vagrant/util/busy.rb:19:in `busy'
    from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `run'
    from /usr/share/vagrant/plugins/commands/plugin/command/base.rb:14:in
`action'
    from
/usr/share/vagrant/plugins/commands/plugin/command/install.rb:32:in `block
in execute'
    from
/usr/share/vagrant/plugins/commands/plugin/command/install.rb:31:in `each'
    from
/usr/share/vagrant/plugins/commands/plugin/command/install.rb:31:in
`execute'
    from /usr/share/vagrant/plugins/commands/plugin/command/root.rb:56:in
`execute'
    from /usr/lib/ruby/vendor_ruby/vagrant/cli.rb:42:in `execute'
    from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:268:in `cli'
    from /usr/bin/vagrant:173:in `<main>'


On Thu, Aug 25, 2016 at 9:00 PM, Zeolla@GMail.com <ze...@gmail.com> wrote:

> Did you install the JDK as opposed to the JRE?  There's some helpful
> information here - https://community.hortonworks.
> com/articles/24818/metron-tech-preview-1-install-instructions-on-sing.html
> - although it's not perfect if you're going to setup from master.
>
> Jon
>
> On Thu, Aug 25, 2016, 06:45 Kevin Waterson <ke...@gmail.com>
> wrote:
>
>> So, solved the issue with the POM file, now this...
>> Does it required SUN's JDK?
>>
>> Thanks
>> Kev
>>
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 02:55 min
>> [INFO] Finished at: 2016-08-25T20:41:49+10:00
>> [INFO] Final Memory: 18M/399M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal on project metron-maas-common: Could not
>> resolve dependencies for project org.apache.metron:metron-maas-common:jar:0.2.0BETA:
>> Could not find artifact sun.jdk:tools:jar:LATEST at specified path
>> /usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/tools.jar -> [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/
>> DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>>
>>
>>
>> --
>> --
>> "Democracy is two wolves and a lamb voting on what to have for lunch.
>> Liberty is a well-armed lamb contesting the vote."
>>
> --
>
> Jon
>



-- 
-- 
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."

Re: BUILD FAILURE

Posted by "Zeolla@GMail.com" <ze...@gmail.com>.
Did you install the JDK as opposed to the JRE?  There's some helpful
information here -
https://community.hortonworks.com/articles/24818/metron-tech-preview-1-install-instructions-on-sing.html
- although it's not perfect if you're going to setup from master.

Jon

On Thu, Aug 25, 2016, 06:45 Kevin Waterson <ke...@gmail.com> wrote:

> So, solved the issue with the POM file, now this...
> Does it required SUN's JDK?
>
> Thanks
> Kev
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:55 min
> [INFO] Finished at: 2016-08-25T20:41:49+10:00
> [INFO] Final Memory: 18M/399M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project metron-maas-common: Could not
> resolve dependencies for project
> org.apache.metron:metron-maas-common:jar:0.2.0BETA: Could not find artifact
> sun.jdk:tools:jar:LATEST at specified path
> /usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/tools.jar -> [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/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
>
>
> --
> --
> "Democracy is two wolves and a lamb voting on what to have for lunch.
> Liberty is a well-armed lamb contesting the vote."
>
-- 

Jon