RapidMiner5-extension-project build failed with one line more code.
I am using RM5 and want to add extension to RM5.
So I download rapidminer5's extension project.
But I met a very strange problem.
This is the beginning of the situation, I added a class and an empty method, the compilation passed.
But when I add a line of code, the compilation doesn't go through. This line of code is very common, just a code to create an object. I don't know why the compilation failed.
just add one linethe extension folder is missing
Best Answer
-
21310122 Member Posts: 40 Maven
There has nothing to do with RapidMiner5. The reason is the configuration in Ant's Build.xml file. The jdk1.6 is used inside.
In jdk1.6, the use of generics must be written in such a way that it can be compiled (in practice).ok: List<String> test = new ArrayList<String>();
not ok: List<String> test = new ArrayList<>();
So I changed the Build.xml to jdk1.8. Then the result is ok.
1