Could Not Parse Error Message Symbol Class
Contents |
here for a quick overview of the
Cannot Find Symbol Maven
site Help Center Detailed answers to any questions you maven-compiler-plugin might have Meta Discuss the workings and policies of this site About Us maven-compiler-plugin maven Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
Maven-compiler-plugin Java 8
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Maven “could not parse error message” (Java 7 + Maven 2) up vote 10 down vote favorite 5 I have a maven-based GWT project that includes Guava. I am running into trouble with Maven trying (and failing) to compile the sources that it finds in guava-gwt*.jar: could not parse error message: symbol: static setCountImpl location: class /home/mark/.m2/repository/com/google/guava/guava-gwt/11.0.1/guava-gwt-11.0.1.jar(com/google/common/collect/AbstractMultiset.java):100: error: cannot find symbol return setCountImpl(this, element, count); ^ I can't figure out why Maven thinks it needs to compile the sources in guava-gwt. Here's what my project looks like: ├── pom.xml └── src ├── main │ └── java └── test └── java └── SomeTestFile.java SomeTestFile.java import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.Multimap; import org.junit.Test; public class SomeTestFile { @Test public void testMethod() { Multimap
Support Search GitHub This repository Watch 8 Star 18 Fork 7 dweiss/compound-splitter Code Issues 1 Pull requests 0 Projects 0 Pulse Graphs New issue Errors when I compile could not the code #3 Open MattCne opened this Issue Feb 9, 2015 · 0 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 1 participant MattCne commented Feb 9, could not parse 2015 Hello ! I'm trying to use the compound filter of https://github.com/wayfair/compound-splitter (to use it with SolR) I'm not a java developer (but a PHP one). My problem: these errors. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project compound-splitter: Compilation failure: Compilation failure: [ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[12,16] error: package org.slf4j does not exist [ERROR] [ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[13,16] error: package org.slf4j does not exist [ERROR] [ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[31,19] error: cannot find symbol [ERROR] [ERROR] could not parse error message: symbol: class Logger [ERROR] location: class GermanCompoundSplitter [ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:4: error: package org.apache.lucene.analysis.compound does not exist [ERROR] import org.apache.lucene.analysis.compound.CompoundWordTokenFilterBase; [ERROR] ^ [ERROR] [ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/