found my issue. In Intellij I had to setup my project settings:
Build, Execution, Depoloymet -> Gradle: Use Gradle from "wrapper task in
Gradle build script"

-psv

On Fri, Sep 18, 2020 at 3:21 AM Pablo Vidaurri <[email protected]> wrote:

>
> I included the dependencies mentioned by Ray in addition to
>   implementation
> "org.apereo.cas:cas-server-core-webflow:${project.'cas.version'}"
> but still get :
> Cannot resolve symbol 'AbstractCasWebflowConfigurer'
> Where is this guy at?
>
> On Friday, June 26, 2020 at 9:59:00 PM UTC-5 [email protected] wrote:
>
>> Ray,
>>
>> Thankyou very much for your help. I missed "  compile
>> "org.apereo.cas:cas-server-core-webflow-api:${casServerVersion}" . After
>> added back, it works now. Thanks again,
>>
>> Danny
>>
>> On Wednesday, 24 June 2020 at 23:57:36 UTC+8 rbon wrote:
>>
>>> Danny,
>>>
>>> You may need to include some of these in build.gradle:
>>>
>>>     compile
>>> "org.apereo.cas:cas-server-core-api-configuration-model:${casServerVersion}"
>>>     compile
>>> "org.apereo.cas:cas-server-core-configuration:${casServerVersion}"
>>>     compile
>>> "org.apereo.cas:cas-server-core-webflow-api:${casServerVersion}"
>>>     compile "org.apereo.cas:cas-server-core-web-api:${casServerVersion}"
>>>     compile "org.apereo.cas:cas-server-core-util:${casServerVersion}"
>>>
>>> The overlay process only adds the classes (war) after the build process,
>>> so build has no knowledge of them.
>>>
>>> A style note; instead of CustomLoginFlow, use
>>> CustomLoginWebflowConfigurer. It will make it easier for you to look at the
>>> class name and know what it is supposed to do.
>>>
>>> Ray
>>>
>>> On Wed, 2020-06-24 at 03:40 -0700, Danny Tung wrote:
>>>
>>>
>>> Hi all,
>>>
>>> I would like to modify the login webflow according to the document
>>> https://apereo.github.io/cas/6.1.x/webflow/Webflow-Customization-Extensions.html
>>>  .
>>> However, I cannot compile the SomethingWebflowConfigurer and
>>> SomethingConfiguration cause it cannot find the class I extend. It said :
>>> package org.apereo.cas.web.flow.configurer does not exist. Anyone has the
>>> similar problem??
>>>
>>>
>>> > Task :compileJava
>>> Custom actions are attached to task ':compileJava'.
>>> Caching disabled for task ':compileJava' because:
>>>   Build cache is disabled
>>> Task ':compileJava' is not up-to-date because:
>>>   Task has failed previously.
>>> All input files are considered out-of-date for incremental task
>>> ':compileJava'.
>>> Full recompilation is required because no incremental change information
>>> is available. This is usually caused by clean builds or changing compiler
>>> arguments.
>>> Compiling with JDK Java compiler API.
>>> D:\JavaProject_UL_20200601\cas\src\main\java\com\abc\dd\cas\spring\webflow\CustomLoginFlow.java:4:
>>> error: package org.apereo.cas.web.flow.configurer does not exist
>>> import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer;
>>>                                          ^
>>> D:\JavaProject_UL_20200601\cas\src\main\java\com\abc\dd\cas\spring\webflow\CustomLoginFlow.java:10:
>>> error: cannot find symbol
>>> public class CustomLoginFlow extends AbstractCasWebflowConfigurer{
>>>                                      ^
>>>   symbol: class AbstractCasWebflowConfigurer
>>> D:\JavaProject_UL_20200601\cas\src\main\java\com\abc\dd\cas\spring\webflow\config\CustomLoginWebflowConfig.java:39:
>>> error: incompatible types: CustomLoginFlow cannot be converted to
>>> CasWebflowConfigurer
>>>         return new CustomLoginFlow(flowBuilderServices,
>>>                ^
>>> D:\JavaProject_UL_20200601\cas\src\main\java\com\abc\dd\cas\spring\webflow\CustomLoginFlow.java:18:
>>> error: method does not override or implement a method from a supertype
>>> @Override
>>> ^
>>> D:\JavaProject_UL_20200601\cas\src\main\java\com\abc\dd\cas\spring\webflow\CustomLoginFlow.java:21:
>>> error: cannot find symbol
>>> final Flow flow = super.getLoginFlow();
>>>                   ^
>>>   symbol:   variable super
>>>   location: class CustomLoginFlow
>>> 5 errors
>>>
>>> > Task :compileJava FAILED
>>> :compileJava (Thread[Execution worker for ':' Thread 2,5,main])
>>> completed. Took 3.878 secs.
>>>
>>> --
>>>
>>> Ray Bon
>>> Programmer Analyst
>>> Development Services, University Systems
>>> 2507218831 <(250)%20721-8831> | CLE 019 | [email protected]
>>>
>>> I respectfully acknowledge that my place of work is located within the
>>> ancestral, traditional and unceded territory of the Songhees, Esquimalt and
>>> WSÁNEĆ Nations.
>>>
>> --
> - 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 a topic in the
> Google Groups "CAS Community" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/a/apereo.org/d/topic/cas-user/FduEwwfDiSE/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/3bb34bf2-d07f-4caa-a210-40fd31f96e2bn%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/3bb34bf2-d07f-4caa-a210-40fd31f96e2bn%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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/CAOe-DO_p3PuhYBPdbNHbxuMAGYe8z2rXnbgXvzMua9FnJoOokg%40mail.gmail.com.

Reply via email to