Oops. Thank you. I had some other tests failing (CredentialsToLDAPAttributePrincipalResolverTests.java and JpaServiceRegistryDaoImplTests.java) - so the overall build was failing - and I falsely assumed that the exception output related to (SafeDispatcherServletTests) was also a failed test.
Thanks. On Mon, Jul 21, 2008 at 8:52 PM, Scott Battaglia <[EMAIL PROTECTED]> wrote: > The SafeDispatcherServletTests error is caught and ignored. Its displayed > because of the log4j settings. > -Scott > -Scott Battaglia > PGP Public Key Id: 0x383733AA > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > On Mon, Jul 21, 2008 at 5:00 PM, Robert R <[EMAIL PROTECTED]> wrote: >> >> In the original message here - there were actually two errors. One >> for the Google Test. The second is an error with >> org.jasig.cas.web.init.SafeDispatcherServletTests where resource >> [/WEB-INF/-servlet.xml] is not found. I am having this same problem >> when I try to run the tests. >> >> Does anyone know how to fix this issue? >> >> Thanks. >> >> Robert >> >> 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 >> _______________________________________________ >> Yale CAS mailing list >> [email protected] >> http://tp.its.yale.edu/mailman/listinfo/cas > > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > > _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
