Inside cas overlay 6.6.0, when I add line 
`cas.standalone.configuration-directory=classpath:.` to 
`src/main/resources/bootstrap.properties`

I can start the server with `gradlew bootRun`.


while `gradlew run` fails with:

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to bind properties under 'cas.standalone.configuration-directory' to 
java.io.File:

    Property: cas.standalone.configuration-directory
    Value: "classpath:."
    Origin: class path resource [bootstrap.properties] - 38:40
    Reason: failed to convert java.lang.String to java.io.File (caused by 
java.lang.IllegalStateException: Could not retrieve file for class path 
resource []: class path resource [] cannot be resolved to absolute file 
path because it does not reside in the file system: 
jar:file:/home/jiangying/code/yiigle_cas_template/build/libs/app.war!/WEB-INF/classes!/)

Action:

Update your application's configuration
On Sunday, September 25, 2022 at 1:46:17 PM UTC+8 JiangYing wrote:

> I am wondering the difference between `gradlew bootRun` and `gradlew run`
>
> and which one is better choice for a normal user.
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/53b55b5d-249c-49c1-b389-ba5183da9688n%40apereo.org.

Reply via email to