Did you by any chance install using apt-get? I've seen a number of cases where
doing so leads to errors like this. Try installing manually from the website.
On Oct 24, 2013, at 12:31 AM, gunrock seenu gunrockse...@gmail.com wrote:
~/M101J$ mvn --version
Apache Maven 3.0.4
Maven home:
Did you by any chance install using apt-get? I've seen a number of cases where
doing so leads to errors like this. Try installing manually from the website.
To be clear, Russell is asking if you installed Maven using apt-get
rather than downloading the tarball from the Maven website and
dependency
groupIdorg.slf4j/groupId
artifactIdslf4j-api/artifactId
version1.7.5/version
Exception in thread main java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
At this point (with the dependency specifically declared in the pom),
you have to
Hi all,
5. consider if you really want the API or an implementation package
for runtime use
The typical pattern with SLF4J is to depend only on org.slf4j:slf4j-api at
compile time, and then add an implementation binding at runtime. For SLF4J
1.6+, you don't even need an implementation at
I am using intellij and maven,
I have used the following pom.xml :
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd;
I don't see any reference to slf4j in your pom or your code. Are you
sure you posted the right thing?
On 10/23/13, Seenu gunrockse...@gmail.com wrote:
I am using intellij and maven,
I have used the following pom.xml :
project xmlns=http://maven.apache.org/POM/4.0.0;
None of the transitive dependencies of spark are in the classpath. It
generally happens if the POM is invalid.
What does mvn dependency:tree says? Is there any error/warning in IDEA?
Le 23 oct. 2013 14:28, Seenu gunrockse...@gmail.com a écrit :
I am using intellij and maven,
I have used the
It is referenced by spark core
I can see slf4j-API getting pulled by the project in IntelliJ
I also tried including the dependency in the Pom.xml.
The noclassdeffound is still showing.
Sent from my iPhone
On Oct 23, 2013, at 10:22 AM, Kevin Krumwiede kjk...@gmail.com wrote:
I don't see
I tried this pom.xml, that did not help either its just seems to be missing
something .
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;
Also here is the source I see for RouteMatchFactory
/*
* Copyright 2011- Per Wendel
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
*
~/M101J$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO]
[INFO] Building M101J 1.0-SNAPSHOT
[INFO]
[INFO]
[INFO] ---
~/M101J$ mvn --version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_40, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk1.7.0_40/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 3.8.0-31-generic, arch: amd64, family: unix
strange thing I
12 matches
Mail list logo