Код: Выделить всё
generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
ArrayList list = new ArrayList();
generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
HashSet resid_List = new HashSet(Arrays.asList(resid_val));
generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
List ind_ovlpList = new ArrayList(Arrays.asList(ind_ovlp));
generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
public class ColumnComparator implements Comparator {
annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Override
< /code>
Я попытался использовать Java 1.3.1, ошибки компилятора, но я получил больше ошибок. Я нашел из других сообщений, что я должен изменить pom.xml Код: Выделить всё
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
com.mycompany
mavenmain
1.0-SNAPSHOT
jar
mavenmain
http://maven.apache.org
UTF-8
junit
junit
3.8.1
test
gov.nist.math
jama
1.0.2
Подробнее здесь: https://stackoverflow.com/questions/167 ... m-xml-file