Hi Scott,

2012-08-16 15:45:36,014 ERROR
[org.springframework.web.context.ContextLoader] - <Context
initialization failed>
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
find class [org.jasig.cas.util.AutowiringSchedulerFactoryBean] for bean
with name 'scheduler' defined in ServletContext resource
[/WEB-INF/spring-configuration/applicationContext.xml]; nested exception
is java.lang.ClassNotFoundException:
org.jasig.cas.util.AutowiringSchedulerFactoryBean

Doing the generic pom.xml file outlined in the maven overlay wiki
section.  The class file is not included in my war.  The class is also
not included in cas-server-core-3.5.0.jar where I would expect to find
it.   Why is this file not pulled in?  Why do the instructions not work
for a generic build?

pom.xml as follows:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>

    <modelVersion>4.0.0</modelVersion>
    <groupId>edu.callutheran.cas</groupId>
    <artifactId>cas-server-callutheran-dev</artifactId>
    <packaging>war</packaging>
    <version>1.0-SNAPSHOT</version>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <warName>cas</warName>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.jasig.cas</groupId>
            <artifactId>cas-server-webapp</artifactId>
            <version>${cas.version}</version>
            <type>war</type>
            <scope>runtime</scope>
        </dependency>
    </dependencies>

    <properties>
        <cas.version>3.5.0</cas.version>
    </properties>

    <repositories>
        <repository>
            <id>ja-sig</id>
            <url>http://oss.sonatype.org/content/repositories/releases</url>
        </repository>
    </repositories>
</project>

Alexander Barker
Senior Programmer
California Lutheran University
Information Systems and Services
60 West Olsen Road
Thousand Oaks, CA 91360
805.493.3912

On 08/16/2012 03:22 PM, Scott Battaglia wrote:
> I don't know why things are taking four weeks for you to resolve.  A
> quick search for your name in my Google Mail archives turns up some
> emails from you from 2010, but nothing between then and now.  Are your
> requests for help not making it to this mailing list?
>
> Regardless, this one made it, so I can reply!  There is no missing
> class, incomplete build, etc.  As you noted, the source is in the
> cas-server-webapp module, and thus so is the compiled version.  I
> downloaded the WAR from the Maven repository and found the compiled
> class in:
>
> <module-unzipped-home>\WEB-INF\classes\org\jasig\cas\util\AutowiringSchedulerFactoryBean.class
>
> Unfortunately, you don't mention in your email why your trying to find
> this specific class, so I can't provide you much more insight beyond
> this. Is there a particular reason you are in search of the compiled
> version?
>
> Cheers,
> Scott
>
>
> On Thu, Aug 16, 2012 at 5:37 PM, Alex Barker <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Maybe I am missing something, maybe the instructions for building cas
>     are incomplete, either way the
>     org.jasig.cas.util.AutowiringSchedulerFactoryBean class is no where to
>     be found.  The source file is in the cas-server-webapp that I
>     downloaded
>     from jasig's site but it is totally missing in everything downloaded
>     from maven.  Is there a dependency that was NOT documented for
>     building
>     a WORKING cas deployment?  Did someone mess up all of the binaries in
>     the maven repository?  I am using
>     http://oss.sonatype.org/content/repositories/releases/ as outlined in
>     the wiki.
>
>     Why is it that every single time I need to touch something in this
>     project it turns into a 4 week long nightmare?
>
>     --
>
>     Alexander Barker
>     Senior Programmer
>     California Lutheran University
>     Information Systems and Services
>     60 West Olsen Road
>     Thousand Oaks, CA 91360
>     805.493.3912 <tel:805.493.3912>
>
>
>
>     --
>     You are currently subscribed to [email protected]
>     <mailto:[email protected]> as: [email protected]
>     <mailto:[email protected]>
>     To unsubscribe, change settings or access archives, see
>     http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
> -- 
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user



-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to