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

ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... (RuntimeError) #1032

Open
kulsinghdeep opened this issue Apr 2, 2024 · 1 comment

Comments

@kulsinghdeep
Copy link

Hi team,

am running licensce finder on my java app but while executing licensce_fnder am getting below error.

icense_finder
LicenseFinder::Maven: is active
/var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/package_managers/maven.rb:20:in current_packages': Command 'mvn org.codehaus.mojo:license-maven-plugin:download-licenses' failed to execute: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... (RuntimeError) from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/package_manager.rb:105:in current_packages_with_relations'
from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/scanner.rb:42:in each' from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/scanner.rb:42:in flat_map'
from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/scanner.rb:42:in active_packages' from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/core.rb:84:in current_packages'
from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/core.rb:79:in decision_applier' from /usr/lib/ruby/3.0.0/forwardable.rb:232:in any_packages?'
from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/license_aggregator.rb:17:in block in any_packages?' from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/license_aggregator.rb:15:in map'
from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/license_aggregator.rb:15:in any_packages?' from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/lib/license_finder/cli/main.rb:121:in action_items'
from /var/lib/gems/3.0.0/gems/thor-1.3.1/lib/thor/command.rb:28:in run' from /var/lib/gems/3.0.0/gems/thor-1.3.1/lib/thor/invocation.rb:127:in invoke_command'
from /var/lib/gems/3.0.0/gems/thor-1.3.1/lib/thor.rb:527:in dispatch' from /var/lib/gems/3.0.0/gems/thor-1.3.1/lib/thor/base.rb:584:in start'
from /var/lib/gems/3.0.0/gems/license_finder-7.1.0/bin/license_finder:6:in <top (required)>' from /usr/local/bin/license_finder:25:in load'
from /usr/local/bin/license_finder:25:in `

'

When i am running on sample app caluclator its work fine.

@cf-gitbot
Copy link
Collaborator

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

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

No branches or pull requests

2 participants