Not entirely sure why these were available before, but DateBridge is part of the Hibernate search project. If you want to use it, simply add a dependency in your pom.xml file on the hibernate search tools.
Mike. On 10/2/07, ros <[EMAIL PROTECTED]> wrote: > > > Right, thanks! > > Do you know why hibernate @DateBridge(resolution= Resolution.MINUTE) are > not > available any more? > (package org.hibernate.search.annotations does not exist) > > Thanks! > > > mraible wrote: > > > > The exception you're seeing is a known issue and shouldn't cause any > > problems: > > > > https://issues.apache.org/struts/browse/WW-1978 > > > > Matt > > > > On 10/1/07, ros <[EMAIL PROTECTED]> wrote: > >> > >> See http://forge.octo.com/jcaptcha/jira/browse/FWK-81 > >> > >> Unfortunately I've got another exception now: > >> > >> ------------------------------------------------------- > >> T E S T S > >> ------------------------------------------------------- > >> Running my.webapp.action.ReservationActionTest > >> 01 Oct 12:51,121 INFO main > >> ReservationActionTest.loadContextLocations(177) > >> | Loading context for locations: > >> classpath:/applicationContext-resources.xml > ,classpath:/applicationContext-dao.xml,classpath:/applicationContext- > service.xml > ,classpath*:/applicationContext.xml,/WEB-INF/applicationContext*.xml > >> 01 Oct 12:51,061 ERROR main XWorkConverter.loadConversionProperties > (784) > >> | > >> Conversion registration error > >> java.lang.NullPointerException > >> at > >> com.opensymphony.xwork2.util.XWorkConverter.createTypeConverter( > XWorkConverter.java:760) > >> at > >> com.opensymphony.xwork2.util.XWorkConverter.loadConversionProperties( > XWorkConverter.java:778) > >> at > >> com.opensymphony.xwork2.util.XWorkConverter.<init>(XWorkConverter.java > :183) > >> at > >> com.opensymphony.xwork2.util.XWorkConverter.getInstance( > XWorkConverter.java:207) > >> at > >> com.opensymphony.xwork2.util.OgnlValueStack.setRoot(OgnlValueStack.java > :340) > >> at > >> com.opensymphony.xwork2.util.OgnlValueStack.<init>(OgnlValueStack.java > :84) > >> at > >> com.opensymphony.xwork2.util.OgnlValueStackFactory.createValueStack( > OgnlValueStackFactory.java:14) > >> at > >> > com.opensymphony.xwork2.ActionContext$ActionContextThreadLocal.initialValue > (ActionContext.java:329) > >> at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141) > >> at java.lang.ThreadLocal.get(ThreadLocal.java:131) > >> at > >> com.opensymphony.xwork2.ActionContext.getContext(ActionContext.java > :151) > >> at > >> org.appfuse.webapp.action.BaseActionTestCase.onSetUpBeforeTransaction( > BaseActionTestCase.java:35) > >> at > >> my.webapp.action.base.BaseMockActionTestCase.onSetUpBeforeTransaction( > BaseMockActionTestCase.java:25) > >> at > >> my.webapp.action.ReservationActionTest.onSetUpBeforeTransaction( > ReservationActionTest.java:24) > >> at > >> > org.springframework.test.AbstractTransactionalSpringContextTests.onSetUp( > AbstractTransactionalSpringContextTests.java:173) > >> at > >> org.springframework.test.AbstractSingleSpringContextTests.setUp( > AbstractSingleSpringContextTests.java:89) > >> at junit.framework.TestCase.runBare(TestCase.java:132) > >> at > >> org.springframework.test.ConditionalTestCase.runBare( > ConditionalTestCase.java:69) > >> at junit.framework.TestResult$1.protect(TestResult.java:110) > >> at junit.framework.TestResult.runProtected(TestResult.java:128) > >> at junit.framework.TestResult.run(TestResult.java:113) > >> at junit.framework.TestCase.run(TestCase.java:124) > >> at junit.framework.TestSuite.runTest(TestSuite.java:232) > >> at junit.framework.TestSuite.run(TestSuite.java:227) > >> at > >> org.junit.internal.runners.JUnit38ClassRunner.run( > JUnit38ClassRunner.java:81) > >> at > >> org.apache.maven.surefire.junit4.JUnit4TestSet.execute( > JUnit4TestSet.java:62) > >> at > >> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet( > AbstractDirectoryTestSuite.java:138) > >> at > >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute( > AbstractDirectoryTestSuite.java:125) > >> at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:597) > >> at > >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( > SurefireBooter.java:290) > >> at > >> org.apache.maven.surefire.booter.SurefireBooter.main( > SurefireBooter.java:818) > >> 01 Oct 12:51,239 INFO main > >> ReservationActionTest.startNewTransaction(323) | > >> Began transaction (1): transaction manager > >> [EMAIL PROTECTED] > ]; > >> default rollback = true > >> > >> Any suggestions how to fix it are welcome. Thanks! > >> > >> ros > >> > >> > >> mraible wrote: > >> > > >> > Unfortunately, if you're using 2.0 and this definition is already > >> > there, I don't know how to solve the problem. > >> > > >> > Matt > >> > > >> > On 9/28/07, ros <[EMAIL PROTECTED]> wrote: > >> >> > >> >> Matt, > >> >> > >> >> I've got 2.0_Final code from SVN, and found in > >> >> applicationContext-services.xml already is: > >> >> <bean > >> >> > >> class=" > org.springframework.transaction.aspectj.AnnotationTransactionAspect" > >> >> factory-method="aspectOf" dependency-check="none" lazy-init="false"> > >> >> <property name="transactionManager" ref="transactionManager"/> > >> >> </bean> > >> >> but after creating new application and merging it with my > application > >> >> from > >> >> M5 version, same problem on both "mvn test" and "mvn > >> jetty:run-exploded". > >> >> > >> >> I put AnnotationTransactionAspect bean definition in to my > >> appilication > >> >> context file, but still can start application. > >> >> Where should I place AnnotationTransactionAspect bean definition? > >> >> > >> >> ros > >> >> > >> >> > >> >> mraible wrote: > >> >> > > >> >> > See the following issue - it's caused by a bug in Spring and > should > >> be > >> >> > fixed by using the solution in the last comment. > >> >> > > >> >> > http://issues.appfuse.org/browse/APF-887 > >> >> > > >> >> > Matt > >> >> > > >> >> > On 9/28/07, ros <[EMAIL PROTECTED]> wrote: > >> >> >> > >> >> >> Hi! > >> >> >> > >> >> >> Please suggest what could cause this exception during webapp > struts > >> >> tests > >> >> >> initialization: > >> >> >> > >> >> >> Running my.webapp.action.MyActionTest > >> >> >> 28 Sep 14:28,562 INFO main MyActionTest.loadContextLocations(177) > | > >> >> >> Loading > >> >> >> context for locations: > >> >> >> > >> >> > >> classpath:/applicationContext-resources.xml > ,classpath:/applicationContext-dao.xml,classpath:/applicationContext- > service.xml > ,classpath*:/applicationContext.xml,/WEB-INF/applicationContext*.xml > >> >> >> 28 Sep 14:28,801 WARN main > >> >> >> CglibSubclassingInstantiationStrategy.instantiate(124) | Factory > >> >> method > >> >> >> [public static > >> >> >> > org.springframework.transaction.aspectj.AnnotationTransactionAspect > >> >> >> > >> >> > >> > org.springframework.transaction.aspectj.AnnotationTransactionAspect.aspectOf > ()] > >> >> >> threw exception > >> >> >> org.aspectj.lang.NoAspectBoundException: Exception while > >> initializing > >> >> >> > >> org_springframework_transaction_aspectj_AnnotationTransactionAspect: > >> >> >> java.lang.NoSuchMethodError: > >> >> >> > >> >> > >> > org.springframework.transaction.annotation.AnnotationTransactionAttributeSource > .<init>(Z)V > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.transaction.aspectj.AnnotationTransactionAspect.aspectOf > (AnnotationTransactionAspect.aj:1) > >> >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >> Method) > >> >> >> at > >> >> >> > >> >> > >> sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > >> >> >> at > >> >> >> > >> >> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > >> >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate > (SimpleInstantiationStrategy.java:109) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod > (ConstructorResolver.java:281) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod > (AbstractAutowireCapableBeanFactory.java:665) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance > (AbstractAutowireCapableBeanFactory.java:617) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean > (AbstractAutowireCapableBeanFactory.java:380) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject( > AbstractBeanFactory.java:245) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton > (DefaultSingletonBeanRegistry.java:141) > >> >> >> at > >> >> >> > >> >> > >> org.springframework.beans.factory.support.AbstractBeanFactory.getBean( > AbstractBeanFactory.java:242) > >> >> >> at > >> >> >> > >> >> > >> org.springframework.beans.factory.support.AbstractBeanFactory.getBean( > AbstractBeanFactory.java:156) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons > (DefaultListableBeanFactory.java:290) > >> >> >> at > >> >> >> > >> >> > >> org.springframework.context.support.AbstractApplicationContext.refresh( > AbstractApplicationContext.java:348) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.test.AbstractSingleSpringContextTests.createApplicationContext > (AbstractSingleSpringContextTests.java:199) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.test.AbstractSingleSpringContextTests.loadContextLocations > (AbstractSingleSpringContextTests.java:179) > >> >> >> at > >> >> >> > >> >> > >> org.springframework.test.AbstractSingleSpringContextTests.loadContext( > AbstractSingleSpringContextTests.java:158) > >> >> >> at > >> >> >> > >> >> > >> org.springframework.test.AbstractSpringContextTests.getContext( > AbstractSpringContextTests.java:105) > >> >> >> at > >> >> >> > >> >> > >> org.springframework.test.AbstractSingleSpringContextTests.setUp( > AbstractSingleSpringContextTests.java:87) > >> >> >> at junit.framework.TestCase.runBare(TestCase.java:132) > >> >> >> at > >> >> >> > >> >> > >> org.springframework.test.ConditionalTestCase.runBare( > ConditionalTestCase.java:69) > >> >> >> at > >> junit.framework.TestResult$1.protect(TestResult.java:110) > >> >> >> at > >> >> junit.framework.TestResult.runProtected(TestResult.java:128) > >> >> >> at junit.framework.TestResult.run(TestResult.java:113) > >> >> >> at junit.framework.TestCase.run(TestCase.java:124) > >> >> >> at junit.framework.TestSuite.runTest(TestSuite.java:232) > >> >> >> at junit.framework.TestSuite.run(TestSuite.java:227) > >> >> >> at > >> >> >> > >> >> > >> org.junit.internal.runners.JUnit38ClassRunner.run( > JUnit38ClassRunner.java:81) > >> >> >> at > >> >> >> > >> >> > >> org.apache.maven.surefire.junit4.JUnit4TestSet.execute( > JUnit4TestSet.java:62) > >> >> >> at > >> >> >> > >> >> > >> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet( > AbstractDirectoryTestSuite.java:138) > >> >> >> at > >> >> >> > >> >> > >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute( > AbstractDirectoryTestSuite.java:125) > >> >> >> at > >> org.apache.maven.surefire.Surefire.run(Surefire.java:132) > >> >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >> Method) > >> >> >> at > >> >> >> > >> >> > >> sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:39) > >> >> >> at > >> >> >> > >> >> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:25) > >> >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> >> at > >> >> >> > >> >> > >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( > SurefireBooter.java:290) > >> >> >> at > >> >> >> > >> >> > >> org.apache.maven.surefire.booter.SurefireBooter.main( > SurefireBooter.java:818) > >> >> >> Caused by: java.lang.NoSuchMethodError: > >> >> >> > >> >> > >> > org.springframework.transaction.annotation.AnnotationTransactionAttributeSource > .<init>(Z)V > >> >> >> at > >> >> >> > >> >> > >> org.springframework.transaction.aspectj.AnnotationTransactionAspect > .<init>(AnnotationTransactionAspect.aj:49) > >> >> >> at > >> >> >> > >> >> > >> > org.springframework.transaction.aspectj.AnnotationTransactionAspect.ajc$postClinit > (AnnotationTransactionAspect.aj:1) > >> >> >> at > >> >> >> > >> >> > >> org.springframework.transaction.aspectj.AnnotationTransactionAspect > .<clinit>(AnnotationTransactionAspect.aj:46) > >> >> >> ... 39 more > >> >> >> > >> >> >> > >> >> >> What could cause this? > >> >> >> > >> >> >> Thanks! > >> >> >> > >> >> >> ros > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> > http://www.nabble.com/can-not-run-struts-action-tests-after--upgrate-to-AppFuse2-R1-tf4533880s2369.html#a12938760 > >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> >> >> > >> >> >> > >> --------------------------------------------------------------------- > >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > -- > >> >> > http://raibledesigns.com > >> >> > > >> >> > > >> --------------------------------------------------------------------- > >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/can-not-run-struts-action-tests-after--upgrate-to-AppFuse2-R1-tf4533880s2369.html#a12943801 > >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> >> > >> >> > --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > >> >> > >> > > >> > > >> > -- > >> > http://raibledesigns.com > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/can-not-run-struts-action-tests-after--upgrate-to-AppFuse2-R1-tf4533880s2369.html#a12976277 > >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > http://raibledesigns.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/can-not-run-struts-action-tests-after--upgrate-to-AppFuse2-R1-tf4533880s2369.html#a12995782 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
