Error building the CAS server

20 views
Skip to first unread message

Senthil Rajendran

unread,
Jan 7, 2019, 6:30:14 PM1/7/19
to CAS Community
I am following the steps given in the wiki page. 
I am using jdk1.8 and gradle wrapper (which is using gradel 5.x) and git repo `git clone --recursive g...@github.com:apereo/cas.git cas-server` and master branch.
When executed the command `/gradlew build install --parallel -x test -x javadoc -x check` ,I am getting error below
cas-server/api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/AuthenticationSystemSupport.java:104: error: incompatible types: Array is not a functional interface                                     
return handleAndFinalizeSingleAuthenticationTransaction(service, credentials.toArray(Credential[]::new)); 

This error looks like there is some code change is required to get rid of this error. 
Am I missing something following the wiki steps or is that a bug got in? Please help.

Thx,
Senthil



Senthil Rajendran

unread,
Jan 7, 2019, 6:38:21 PM1/7/19
to CAS Community
I think JDK11 is a prerequisite. 
It is working now.
Reply all
Reply to author
Forward
0 new messages