error: can not find symbol - maven install with class folder

3

I have a maven project in eclipse that uses a class folder. This folder has .java and .class. The classes I use in the project are in the build path as class folder, when I do maven install gives me error:

[ERROR] location: class PushJobProcessor
[ERROR] xxx\java\com\xxx\Processor.java:[152,11] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

I've tried changing the java version, but nothing ... Can you give an idea of what it is?

Thanks for the attention

    
asked by anonymous 11.02.2016 / 13:46

1 answer

1

Try changing the version of the Maven plugin to 3.1

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.1</version>
    <configuration>
        <source>1.7</source>
        <target>1.7</target>
    </configuration>
</plugin>
    
16.03.2017 / 21:04