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

ModelloCli is not working in 2.3.0 #434

Open
fridrich opened this issue Apr 9, 2024 · 0 comments · May be fixed by #435
Open

ModelloCli is not working in 2.3.0 #434

fridrich opened this issue Apr 9, 2024 · 0 comments · May be fixed by #435

Comments

@fridrich
Copy link

fridrich commented Apr 9, 2024

I cannot manage to make ModelloCli work in 2.3.0. I am getting
SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/share/java/slf4j/nop.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j/simple.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory] Exception in thread "main" org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.codehaus.modello.Modello roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:268) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:256) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:250) at org.codehaus.modello.ModelloCli.main(ModelloCli.java:43) Caused by: java.util.NoSuchElementException at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:141) at org.eclipse.sisu.inject.LocatedBeans$Itr.next(LocatedBeans.java:76) at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76) at org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:56) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:264) ... 3 more
There is either a problem in the lookup or (most likely) I am doing something wrong myself. I would not mind if one could help me with debugging this issue.

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.

1 participant