I did run to get submodules.   Same error.
I am not as familiar with Gradle, so cannot figure out why.  But if anyone
knows why, this maybe quite simple. I would appreciate the help!

Yan

C:\apereocas66x\cas-server\support\cas-server-support-thymeleaf>"../../gradlew"
build
Configuration on demand is an incubating feature.
> Task :support:cas-server-support-thymeleaf:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task
':support:cas-server-support-thymeleaf:compileJava'.
> Could not resolve all files for configuration
':support:cas-server-support-thymeleaf:compileClasspath'.
   > Could not find nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.1.0 .
     Searched in the following locations:
       -
file:/C:/Users/yan.x.zhou/.m3/repository/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/3.1.0
/thymeleaf-layout-dialect-3.1.0 .pom
       -
https://repo.maven.apache.org/maven2/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/3.1.0
/thymeleaf-layout-dialect-3.1.0 .pom
       -
https://oss.sonatype.org/content/repositories/releases/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/3.1.0
/thymeleaf-layout-dialect-3.1.0 .pom
       -
https://repo.spring.io/milestone/nz/net/ultraq/thymeleaf/thymeleaf-layout-dialect/3.1.0
/thymeleaf-layout-dialect-3.1.0 .pom
     Required by:
         project :support:cas-server-support-thymeleaf

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 10s
168 actionable tasks: 2 executed, 166 up-to-date

C:\apereocas66x\cas-server\support\cas-server-support-thymeleaf>


On Tue, Jul 18, 2023 at 3:50 PM Ray Bon <r...@uvic.ca> wrote:

> Yan,
>
> There is this
> https://apereo.github.io/cas/developer/Contributor-Guidelines.html#how-do-i-do-this
>  and
> this https://apereo.github.io/cas/development/developer/Build-Process.html for
> developing cas.
>
> There is a step for getting submodules; Was that missed?
>
> Ray
>
> On Tue, 2023-07-18 at 12:21 -0700, Yan Zhou wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> HI Ray,
>
> Overlay did work, thx a lot!   Still,  I should be able to run CAS as any
> CAS developer would,  not sure why i run into this
>
> this is what I did on my Windows, overlay works fine with additional
> command line arguments, so I attempted the same on CAS project,
>
> C:\apereocas66x\cas-server\webapp\cas-server-webapp-tomcat>"../../gradlew"
> build bootRun --parallel --offline --configure-on-demand --build-cache
> --stacktrace
> --args=--spring.profiles.active=standalone,--cas.standalone.configuration-directory=C:\apereocas66x\config
> Configuration on demand is an incubating feature.
>
> > Task :api:cas-server-core-api-configuration-model:compileJava
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note:
> C:\apereocas66x\cas-server\api\cas-server-core-api-configuration-model\src\main\java\org\apereo\cas\configuration\metadata\ConfigurationMetadataGenerator.java
> uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
>
> > Task :support:cas-server-support-thymeleaf:compileJava FAILED
> <==========---> 82% EXECUTING [1m 46s]
> >
> :api:cas-server-core-api-configuration-model:generateConfigurationMetadata
>
>
> In my IntelliJ IDE, it reports this error,  I am sure the CAS project
> itself has no problem, but I cannot figure out why it is missing Thymeleaf
> layout dialect jar, and where is this supposed to be specified?
>
> :support:cas-server-support-openid-webflow:test: Could not find
> nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.1.0 .
> Required by:
>     project :support:cas-server-support-openid-webflow > project
> :support:cas-server-support-thymeleaf
>
> Possible solution:
>  - Declare repository providing the artifact, see the documentation at
> https://docs.gradle.org/current/userguide/declaring_repositories.html
>
>
> Thanks,
> Yan
> On Tuesday, July 18, 2023 at 12:29:49 PM UTC-4 Ray Bon wrote:
>
> Yan,
>
> It looks like you are using cas instead of cas-overlay-template. The main
> project is for developers. This is for deployers
> https://github.com/apereo/cas-overlay-template
>
> Ray
>
> On Mon, 2023-07-17 at 12:15 -0700, Yan Zhou wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
>
> HI
>
> i followed doc to this step, but not sure why it failed. I am on Windows
> and using CAS 6.6.9. it built fine, but when running in embedded tomcat,
> run into error.
>
> not sure what it tries to do in /etc/cas/templates, I am on Windows, so I
> am hoping to find where it is specified and change it to Windows path.
>
> thanks in advance!
>
> Yan
>
> C:\apereocas66x\cas-server\webapp\cas-server-webapp-tomcat>"../../gradlew"
> build bootRun --parallel --offline --configure-on-demand --build-cache
> --stacktrace
> Configuration on demand is an incubating feature.
> <-------------> 0% CONFIGURING [1m 24s]
> > Task :webapp:cas-server-webapp-tomcat:processBootRunResources FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task
> ':webapp:cas-server-webapp-tomcat:processBootRunResources'.
> > Cannot fingerprint input file property 'rootSpec$1': Could not stat file
> \\etc\cas\templates
>
>
>
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFSoZem5u%2By55nqAb3x0_kY4n%2Bs9J_52WxkzCY8_XVj2LPXnUA%40mail.gmail.com.

Reply via email to