Hello Ben,

You can find my cas-server-webapp/pom.xml attached.
The only change that I have done (from what's included in the .zip 
source code from feature-lppe branch) is the ldap dependency addition...
If you were talking about my cas-server-support-ldap/pom.xml, it's the 
same with the one in the .zip source code

Thanks,
Pavlos

On 03/20/2012 04:46 PM, Ben Branch wrote:
> Pavlos,
>
> Most of the ClassNotFound exceptions are thrown when a library is missing, if 
> I'm not mistaken.  Could you do us a favor and post your pom.xml?
>
> Ben Branch
> Sun Administrator
> University of Central Oklahoma
> ITIL Foundation v3, Network+
>
> 100 N. University Drive, Box 122
> Edmond, OK 73034
> D: 405.974.2649 | M: 405.550.6804 | [email protected] | www.uco.edu
>   
> "If you wish to know your past, look at your present conditions.  If you wish 
> to know your future, look at your present actions."  - Siddhartha Gautama
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Tuesday, March 20, 2012 8:52 AM
> To: [email protected]
> Subject: [cas-user] Spring and ClassNotFoundException issues when building 
> CAS from feature-lppe branch
>
> Hello all,
>
> I am trying to build CAS with LPPE support, so...
> a) I 've downloaded source code (from github feature-lppe 
> Jasig-cas-v3.4.11-2164-g7113e38.zip),
> b) built cas-server-support-ldap module,
> c) built cas.war using the above module and finally
> d) deployed cas.war
>
> At first, I got the following error:
> Configuration problem: You cannot use a spring-security-2.0.xsd or 
> spring-security-3.0.xsd schema with Spring Security 3.1. Please update your 
> schema declarations to the 3.1 schema. Offending resource:
> ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml])
>
> Changing xsd version from 3.0 to 3.1, solved the problem but then, the 
> following ClassNotFoundException occured...
>
> ERROR [org.springframework.web.servlet.DispatcherServlet] -<Context 
> initialization failed>
> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
> class [org.jasig.cas.web.flow.LdapPwdAuthenticationViaFormAction]
> for bean with name 'authenticationViaFormAction' defined in ServletContext 
> resource [/WEB-INF/cas-servlet.xml]; nested exception is
> java.lang.ClassNotFoundException:
> org.jasig.cas.web.flow.LdapPwdAuthenticationViaFormAction
>
> I 've searched the source code and I can't find 
> LdapPwdAuthenticationViaFormAction Class... Are there any missing 
> files/dependencies that I should add?
>
> Thanks in advance,
> Pavlos
>
> --
> 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
>
>
> **Bronze+Blue=Green** The University of Central Oklahoma is Bronze, Blue, and 
> Green! Please print this e-mail only if absolutely necessary!
>
> **CONFIDENTIALITY** This e-mail (including any attachments) may contain 
> confidential, proprietary and privileged information. Any unauthorized 
> disclosure or use of this information is prohibited.
>
>
>


-- 
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
<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/maven-v4_0_0.xsd";>
    <parent>
        <groupId>org.jasig.cas</groupId>
        <artifactId>cas-server</artifactId>
        <version>3.5.0-RC1-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.jasig.cas</groupId>
    <artifactId>cas-server-webapp</artifactId>
    <packaging>war</packaging>
    <name>JA-SIG CAS Web Application</name>
    <dependencies>

        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>${mockito.version}</version>
            <scope>test</scope>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>com.github.inspektr</groupId>
            <artifactId>inspektr-support-spring</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-cas</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-config</artifactId>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
        </dependency>

        <dependency>
            <groupId>org.jasig.cas</groupId>
            <artifactId>cas-server-core</artifactId>
            <version>${project.version}</version>
        </dependency>
        
        <dependency>
            <groupId>org.jasig.cas</groupId>
            <artifactId>cas-server-support-ldap</artifactId>
            <version>${project.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>org.opensymphony.quartz</groupId>
            <artifactId>quartz</artifactId>
            <version>1.6.1</version>
            <type>jar</type>
        </dependency>

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.1.2</version>
            <type>jar</type>
        </dependency>

        <dependency>
            <groupId>taglibs</groupId>
            <artifactId>standard</artifactId>
            <version>1.1.2</version>
            <type>jar</type>
        </dependency>

        <dependency>
            <groupId>ognl</groupId>
            <artifactId>ognl</artifactId>
            <version>2.7.3</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <scope>runtime</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <warName>cas</warName>
					<webResources>
						<resource>
                            <directory>${basedir}/src/main/webapp/WEB-INF</directory>
                            <filtering>true</filtering>
                            <targetPath>WEB-INF</targetPath>
                            <includes>
                                <include>**/web.xml</include>                                
                            </includes>
                        </resource>
					</webResources>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

Reply via email to