Are you using JDK 6? If so, you might try Java 5. Matt
On 8/13/07, Nandu T. Rajan <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to create a new app in appfuse. The 'ant new' command > completes sucessfully, but when I run 'ant setup test-all' from the newapp's > directory, the testing fails at the section beginning 'test-dao'. A short > extract of the error msg is given below: > > test-dao: > [echo] Testing dao... > [mkdir] Created dir: D:\myapp\build\test\data > [copy] Copying 1 file to D:\myapp\build\test\dao\classes > [junit] Testsuite: org.appfuse.dao.GenericDaoTest > [junit] [myapp] INFO [main] GenericDaoTest.loadContextLocations(136) | > Loading context for: > classpath*:/**/dao/applicationContext-*.xml,classpath*:META-INF/applicationContext-*.xml > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.781 sec > [junit] > [junit] ------------- Standard Output --------------- > [junit] [myapp] INFO [main] GenericDaoTest.loadContextLocations(136) | > Loading context for: > classpath*:/**/dao/applicationContext-*.xml,classpath*:META-INF/applicationContext-*.xml > [junit] ------------- ---------------- --------------- > [junit] Testcase: testCRUD(org.appfuse.dao.GenericDaoTest): Caused an > ERROR > [junit] Unexpected exception parsing XML document from file > [D:\myapp\build\test\dao\classes\org\appfuse\dao\applicationContext-resources.xml]; > nested exception is java.lang.VerifyError: class > org.apache.xerces.jaxp.datatype.DurationImpl overrides final method *§k 'l > . > [junit] org.springframework.beans.factory.BeanDefinitionStoreException: > Unexpected exception parsing XML document from file > [D:\myapp\build\test\dao\classes\org\appfuse\dao\applicationContext-resources.xml]; > nested exception is java.lang.VerifyError: class > org.apache.xerces.jaxp.datatype.DurationImpl overrides final method *§k 'l > . > [junit] Caused by: java.lang.VerifyError: class > org.apache.xerces.jaxp.datatype.DurationImpl overrides final method *§k 'l > . > > Any help on this would be greatly appreciated. > > Thanks, > Nandu > > > > --------------------------------- > Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, > when. -- http://raibledesigns.com
