Error building CAS 3.1

Scott Battaglia scott.battaglia at gmail.com
Mon Sep 10 07:53:18 EDT 2007


Hez,

The issue is with the GoogleAccountsServiceTests.  Certain JVM versions
don't have the files required to execute the tests.  Certain Java
1.5versions (notably those for Windows) do and all version of JDK
1.6 do.  We're currently looking for a way to fix this problem but haven't
found one yet.

The two options are to (a) upgrade to JDK 1.6 for compiling or (b) disabled
the tests by executing mvn -Dmaven.test.skip=true

Thanks
-Scott
-- 
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia

On 9/10/07, hezjing <hezjing at gmail.com> wrote:
>
> Hi!
>
> I encounter the following error when building the CAS 3.1 (stable),
>
>
> C:\cas-server-3.1>mvn package install
> ......
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> ......
> Running org.jasig.cas.authentication.principal.GoogleAccountsServiceTests
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.109
> sec <<< FAILURE!
> Running
> org.jasig.cas.authentication.handler.UnknownUsernameAuthenticationExceptionTests
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.jasig.cas.web.init.SafeDispatcherServletTests
> SafeDispatcherServlet:
> The Spring DispatcherServlet we wrap threw on init.
> But for our having caught this error, the servlet would not have
> initialized.
> org.springframework.beans.factory.BeanDefinitionStoreException:
> IOException parsing XML document from ServletContext resource
> [/WEB-INF/-servlet.xml]; nested exception is
> java.io.FileNotFoundException
> : Could not open ServletContext resource [/WEB-INF/-servlet.xml]
> Caused by: java.io.FileNotFoundException: Could not open
> ServletContext resource [/WEB-INF/-servlet.xml]
>         at
> org.springframework.web.context.support.ServletContextResource.getInputStream
> (ServletContextResource.java:99)
> ......
>
>
> Do you know what could be the problem?
>
>
> --
>
> Hez
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070910/a195837d/attachment.html 


More information about the cas mailing list