@AutowiredEnvironment env;//To get the List<String>List<String> values = Arrays.asList(env.getProperty("my.list").split(",");//Then, you can get value into an Optional to prevent NullPointerExceptionOptional<String> myValue = values.stream().findFirst();