Hi,
I am trying to compile my source with java compiler 1.6.
JAVA_HOME, path contains path to jdk 1.6. In my project's pom.xml
I have mentioned jdk version like this,
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<compilerVersion>1.6</compilerVersion>
</configuration>
</plugin>
<properties>
<targetJdk>1.6</targetJdk>
</properties>
When I try to compile source code, it gives following error,
cannot find symbol
symbol : method
invokeAll(java.util.Collection<com.test.MyCallable<Result>>)
location: interface java.util.concurrent.ExecutorService
I understand that class MyCallable is ? extends Callable, and it should run
fine on jdk 1.6,
but still it gives above error. From where does it takes 1.5 for
compilation?
--
View this message in context:
http://maven.40175.n5.nabble.com/Java-concurrent-classes-compile-issue-tp4402714p4402714.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]