[
https://issues.jboss.org/browse/JBDS-4154?page=com.atlassian.jira.plugin....
]
Fred Bricon commented on JBDS-4154:
-----------------------------------
I suspect this might be cause by something like
https://github.com/eclipse/m2e-core/blob/master/org.eclipse.m2e.core/src/...
My understanding is the embedded runtime is looking for bundles matching the org.slf4j.api
name.
JavaEE Web Project > Run As > Maven not working
-----------------------------------------------
Key: JBDS-4154
URL:
https://issues.jboss.org/browse/JBDS-4154
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: maven, rpm
Affects Versions: 10.2.0.AM3
Environment: RHEL7 64bit
Reporter: Lukáš Valach
Assignee: Fred Bricon
Priority: Critical
Fix For: 10.2.0.AM3
I am not able to use embedded Maven. When I try to run Maven clean (or whatever else) I
get following error message in Console (nothing in Error log):
{code}
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/Logger
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at
org.codehaus.plexus.classworlds.launcher.Launcher.getEnhancedMainMethod(Launcher.java:172)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:268)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 10 more
{code}
Standalone maven installation works fine.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)