Skip to content

Tycho 4.x - Compiler error "The method asList(T...) of Arrays.." #2931

Closed Answered by Waschndolos
Waschndolos asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I found the (stupid) error. In the root pom we had:

<plugin>
  <groupId>org.eclipse.tycho</groupId>
  <artifactId>tycho-compiler-plugin</artifactId>
  <version>${tycho.version}</version>
  <configuration>
	  <useJDK>BREE</useJDK>
	  <compilerArgs>
		  <arg>-err:-forbidden</arg>
		  <arg>-proc:none</arg>
		  <arg>--module-path</arg>
		  <arg>${java.home}/jmods</arg>
		  <arg>--add-modules</arg>
		  <arg>java.smartcardio</arg>
	  </compilerArgs>
	  <deriveReleaseCompilerArgumentFromTargetLevel>false</deriveReleaseCompilerArgumentFromTargetLevel>
  </configuration>
</plugin>

Let's all guess what ${java.home} is when I run the maven build with Java 17 Runtime -.- So we tried to compile wi…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Waschndolos
Comment options

@Waschndolos
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Waschndolos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants