[jbosstools-issues] [JBoss JIRA] (JBDS-4154) JavaEE Web Project > Run As > Maven not working
Nick Boldt (JIRA)
issues at jboss.org
Mon Nov 7 14:54:00 EST 2016
[ https://issues.jboss.org/browse/JBDS-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13318404#comment-13318404 ]
Nick Boldt commented on JBDS-4154:
----------------------------------
Need to get the latest m2e 1.7.1 into the devstudio rpm so you don't have to update from rpm to latest m1e 1.7.1. So this issue can be resolved only once we have the target platform updated.
Steps:
a) release AM3 tomorrow once QE signs off
b) update target platform to include latest m2e and other queued fixes (eg., lucene, thym)
c) rebuild everything
d) verify this issue is fixed OOTB w/o workaround or update/patch fix.
> 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: build, maven, rpm, target-platform
> Affects Versions: 10.2.0.AM3
> Environment: RHEL7 64bit
> Reporter: Lukáš Valach
> Assignee: Fred Bricon
> Priority: Critical
> Fix For: 10.2.0.GA
>
> Attachments: maven171-fix-installed.png, maven171-fix.png
>
>
> 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)
More information about the jbosstools-issues
mailing list