[
https://issues.apache.org/jira/browse/MAHOUT-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937593#comment-13937593
]
Suneel Marthi commented on MAHOUT-1466:
---------------------------------------
Fix is to remove <scope>provided</scope> for all slf4j dependencies in
examples/pom.xml and that works.
> Cluster visualization fails to execute
> --------------------------------------
>
> Key: MAHOUT-1466
> URL: https://issues.apache.org/jira/browse/MAHOUT-1466
> Project: Mahout
> Issue Type: Bug
> Reporter: Sebastian Schelter
> Fix For: 1.0
>
> Attachments: MAHOUT-1466.patch
>
>
> When executing the cluster visualization as described in
> https://mahout.apache.org/users/clustering/visualizing-sample-clusters.html ,
> the following error occurs:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/slf4j/LoggerFactory
> at
> org.apache.mahout.clustering.display.DisplayClustering.<clinit>(DisplayClustering.java:66)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:113)
> Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 4 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)