Change your code as
<h:form id="course">
<ui:repeat value="#{stationCourses.course}" var="course">
<h:commandButton class="buttons"
id="courseID"
value="#{course.courseName}"
actionListener="#{stationCourses.getCourseSelected}"
style="alignment-adjust: central;
white-space: pre-line; word-wrap: break-word;"/>
</ui:repeat>
</h:form>
For actions and actionListeners you have to mention the exact method name unlike variables.