CAS 5.3.x spring-boot:run not working after customizing

17 views
Skip to first unread message

Yan Zhou

unread,
Sep 4, 2018, 11:18:42 AM9/4/18
to CAS Community
Hello,

I got CAS 5.3.3 overlay,  this works:  mvn spring-boot:run. 

However, I need to customize CAS, so I had to add additional dependencies, and "mvn spring-boot:run" no longer works.  Is this by design?

I finally see this in README of CAS build.

Be careful with this method of deployment. `bootRun` is not designed to work with already executable WAR artifacts such that CAS server web application. YMMV. Today, uses of this mode ONLY work when there is **NO OTHER** dependency added to the build script and the `cas-server-webapp` is the only present module. See [this issue](https://github.com/spring-projects/spring-boot/issues/8320) for more info.


Thanks,
Yan
Reply all
Reply to author
Forward
0 new messages