org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.appfuse.dao.hibernate.UniversalDaoHibernat e] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert va lue of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching ed itors or conversion strategy found

AppFuse JIRA | Andrew de Bruijn | 8 years ago
  1. 0

    maven version: 2.0.9 java version: 1.6.0_3 JAVA_HOME=%TOOLS_HOME%\java\jdk1.6.0_10 jsf modular version of appfuse No issues running mvn jetty:run-war after initial compile after running achetype No issue running mvn jetty:run (from D:\devworld\sandbox\appfuse-jsf-modular\web) after running mvn war:inplace Once i run mvn appfuse:full-source i get the error specified below. I have inspected the code and UniversalDaoHibernate does implement UniverslDao so i don't understand why i would be getting this runtime error. I have looked around and haven't been able to find anyone else that has encountered the same issue. ---------------------------------------------------------------------------------------------------------------------------------------------------- D:\devworld\sandbox\appfuse-jsf-modular\core>mvn install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Modular Application - Core [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [aspectj:compile {execution: default}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] Preparing hibernate3:hbm2ddl [WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive invocation. [INFO] [aspectj:compile {execution: default}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid. It will be ignored for artifact resolution. Reason: Parse error reading PO M. Reason: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13) for pro ject org.hibernate:jtidy at D:\devworld\.m2\repository\org\hibernate\jtidy\r8-20060801\jtidy-r8-20060801.pom [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid. It will be ignored for artifact resolution. Reason: Parse error reading PO M. Reason: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13) for pro ject org.hibernate:jtidy at D:\devworld\.m2\repository\org\hibernate\jtidy\r8-20060801\jtidy-r8-20060801.pom [INFO] [hibernate3:hbm2ddl {execution: default}] [INFO] Configuration XML file loaded: D:\devworld\sandbox\appfuse-jsf-modular\core\src\main\resources\hibernate.cfg.xml [INFO] Configuration XML file loaded: D:\devworld\sandbox\appfuse-jsf-modular\core\src\main\resources\hibernate.cfg.xml [INFO] Configuration Properties file loaded: D:\devworld\sandbox\appfuse-jsf-modular\core\target\test-classes\jdbc.properties alter table user_role drop foreign key FK143BF46ABB625DB6; alter table user_role drop foreign key FK143BF46A608D2196; drop table if exists app_user; drop table if exists role; drop table if exists user_role; create table app_user (id bigint not null auto_increment, username varchar(50) not null unique, email varchar(255) not null unique, password_hint varc har(255), first_name varchar(50) not null, last_name varchar(50) not null, phone_number varchar(255), website varchar(255), account_expired bit not nu ll, account_locked bit not null, credentials_expired bit not null, city varchar(50) not null, province varchar(100), postal_code varchar(15) not null, address varchar(150), country varchar(100), account_enabled bit, version integer, password varchar(255) not null, primary key (id)) ENGINE=InnoDB; create table role (id bigint not null auto_increment, name varchar(20), description varchar(64), primary key (id)) ENGINE=InnoDB; create table user_role (user_id bigint not null, role_id bigint not null, primary key (user_id, role_id)) ENGINE=InnoDB; alter table user_role add index FK143BF46ABB625DB6 (role_id), add constraint FK143BF46ABB625DB6 foreign key (role_id) references role (id); alter table user_role add index FK143BF46A608D2196 (user_id), add constraint FK143BF46A608D2196 foreign key (user_id) references app_user (id); [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [dbunit:operation {execution: default}] [INFO] [surefire:test] [INFO] Surefire report directory: D:\devworld\sandbox\appfuse-jsf-modular\core\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.mycompany.app.service.UserSecurityAdviceTest WARN - UserSecurityAdvice.before(71) | Access Denied: 'user' tried to modify 'admin'! WARN - UserSecurityAdvice.before(92) | Access Denied: 'user' tried to change their role(s)! WARN - UserSecurityAdvice.before(92) | Access Denied: 'user' tried to change their role(s)! Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.125 sec Running com.mycompany.app.service.MailEngineTest INFO - AbstractSingleSpringContextTests.loadContextLocations(210) | Loading context for locations: /applicationContext-resources.xml,classpath:/applic ationContext-dao.xml,/applicationContext-service.xml,classpath*:/**/applicationContext.xml Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.672 sec Running com.mycompany.app.dao.hibernate.HibernateConfigurationTest INFO - AbstractSingleSpringContextTests.loadContextLocations(210) | Loading context for locations: classpath:/applicationContext-resources.xml,classpa th:/applicationContext-dao.xml,classpath*:/applicationContext.xml,classpath:**/applicationContext*.xml DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - HibernateConfigurationTest.testColumnMapping(25) | Trying select * from: com.mycompany.app.model.User DEBUG - HibernateConfigurationTest.testColumnMapping(28) | ok: com.mycompany.app.model.User DEBUG - HibernateConfigurationTest.testColumnMapping(25) | Trying select * from: com.mycompany.app.model.Role DEBUG - HibernateConfigurationTest.testColumnMapping(28) | ok: com.mycompany.app.model.Role DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testColumnMapping]. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.656 sec Running com.mycompany.app.dao.LookupDaoTest DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - LookupDaoHibernate.getRoles(20) | Retrieving all role names... DEBUG - LookupDaoTest.testGetRoles(18) | [ROLE_ADMIN, ROLE_USER] DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testGetRoles]. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec Running com.mycompany.app.util.DateUtilTest DEBUG - DateUtilTest.testGetDate(44) | db date to convert: Sat Jul 26 17:46:54 EST 2008 DEBUG - DateUtilTest.testGetDate(50) | converted ui date: 07/26/2008 DEBUG - DateUtilTest.testGetDateTime(58) | entered 'testGetDateTime' method DEBUG - DateUtilTest.testGetDateTime(62) | 17:46 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.mycompany.app.service.UserExistsExceptionTest INFO - AbstractSingleSpringContextTests.loadContextLocations(210) | Loading context for locations: /applicationContext-service.xml,/applicationContext -resources.xml,classpath:/applicationContext-dao.xml DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@128594c]; rollback [true]. DEBUG - UserExistsExceptionTest.testAddExistingUser(21) | entered 'testAddExistingUser' method DEBUG - UserDaoHibernate.saveUser(47) | user's id: null WARN - JDBCExceptionReporter.logExceptions(77) | SQL Error: 1062, SQLState: 23000 ERROR - JDBCExceptionReporter.logExceptions(78) | Duplicate entry 'user' for key 2 org.springframework.dao.DataIntegrityViolationException: could not insert: [com.mycompany.app.model.User]; nested exception is org.hibernate.exception .ConstraintViolationException: could not insert: [com.mycompany.app.model.User] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:624) at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424) at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374) at org.springframework.orm.hibernate3.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:744) at com.mycompany.app.dao.hibernate.UserDaoHibernate.saveUser(UserDaoHibernate.java:48) 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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at $Proxy32.saveUser(Unknown Source) at com.mycompany.app.service.impl.UserManagerImpl.saveUser(UserManagerImpl.java:101) 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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy34.saveUser(Unknown Source) at com.mycompany.app.service.UserExistsExceptionTest.testAddExistingUser(UserExistsExceptionTest.java:35) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:76) 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:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) Caused by: org.hibernate.exception.ConstraintViolationException: could not insert: [com.mycompany.app.model.User] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:40) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2163) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2643) at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:51) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298) at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495) at org.springframework.orm.hibernate3.HibernateTemplate$16.doInHibernate(HibernateTemplate.java:747) at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419) ... 55 more Caused by: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry 'user' for key 2 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931) WARN - UserManagerImpl.saveUser(104) | could not insert: [com.mycompany.app.model.User]; nested exception is org.hibernate.exception.ConstraintViolati onException: could not insert: [com.mycompany.app.model.User] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715) at com.mysql.jdbc.Connection.execSQL(Connection.java:3249) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440) at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:73) at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:33) ... 71 more DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testAddExistingUser]. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.86 sec Running com.mycompany.app.dao.UniversalDaoTest DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testCRUD]. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec Running com.mycompany.app.service.impl.LookupManagerImplTest DEBUG - LookupManagerImplTest.testGetAllRoles(28) | entered 'testGetAllRoles' method Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.mycompany.app.dao.UserDaoTest DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testGetUser]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - UserDaoHibernate.saveUser(47) | user's id: null WARN - GenericDaoHibernate.get(74) | Uh oh, 'class com.mycompany.app.model.User' object with id '2' not found... DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testAddAndRemoveUser]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. WARN - GenericDaoHibernate.get(74) | Uh oh, 'class com.mycompany.app.model.User' object with id '1000' not found... DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testGetUserInvalid]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - UserDaoTest.testGetUserPassword(44) | password: 12dea96fec20593566ab75692c9949596833adc9 DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testGetUserPassword]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - UserDaoHibernate.saveUser(47) | user's id: -1 DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testUpdateUser]. DEBUG - UserDaoHibernate.saveUser(47) | user's id: null WARN - JDBCExceptionReporter.logExceptions(77) | SQL Error: 1062, SQLState: 23000 ERROR - JDBCExceptionReporter.logExceptions(78) | Duplicate entry 'user' for key 2 DEBUG - UserDaoTest.testUpdateUser(71) | expected exception: could not insert: [com.mycompany.app.model.User]; nested exception is org.hibernate.excep tion.ConstraintViolationException: could not insert: [com.mycompany.app.model.User] DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - UserDaoHibernate.saveUser(47) | user's id: -1 DEBUG - UserDaoHibernate.saveUser(47) | user's id: -1 DEBUG - UserDaoHibernate.saveUser(47) | user's id: -1 DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testAddUserRole]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testUserExists]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testUserNotExists]. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.359 sec Running com.mycompany.app.service.impl.UserManagerImplTest WARN - UserManagerImpl.saveUser(97) | PasswordEncoder not set, skipping password encryption... WARN - UserManagerImpl.saveUser(97) | PasswordEncoder not set, skipping password encryption... DEBUG - UserManagerImpl.removeUser(117) | removing user: 5 org.springframework.dao.DataIntegrityViolationException: at org.jmock.lib.action.ThrowAction.invoke(ThrowAction.java:27) at org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:126) at org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) at org.jmock.Mockery.dispatch(Mockery.java:204) WARN - UserManagerImpl.saveUser(97) | PasswordEncoder not set, skipping password encryption... at org.jmock.Mockery.access$000(Mockery.java:37) at org.jmock.Mockery$MockObject.invoke(Mockery.java:246) at org.jmock.internal.InvocationDiverter.invoke(InvocationDiverter.java:27) at org.jmock.internal.ProxiedObjectIdentity.invoke(ProxiedObjectIdentity.java:36) at org.jmock.lib.JavaReflectionImposteriser$1.invoke(JavaReflectionImposteriser.java:33) at $Proxy9.saveUser(Unknown Source) at com.mycompany.app.service.impl.UserManagerImpl.saveUser(UserManagerImpl.java:101) at com.mycompany.app.service.impl.UserManagerImplTest.testUserExistsException(UserManagerImplTest.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.junit.internal.runners.TestMethod.invoke(TestMethod.java:59) at org.jmock.integration.junit4.JMock$1.invoke(JMock.java:36) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) WARN - UserManagerImpl.saveUser(104) | DEBUG - UserManagerImplTest.testUserExistsException(135) | expected exception: User 'admin' already exists! at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec Running com.mycompany.app.service.impl.UniversalManagerTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec Running com.mycompany.app.service.UserManagerTest DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@5861]; rollback [true]. DEBUG - UserManagerTest.testGetUser(28) | com.mycompany.app.model.User@1dedb45[username=user,enabled=true,accountExpired=false,credentialsExpired=fals e,accountLocked=false,Granted Authorities: ,ROLE_USER] DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testGetUser]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@5861]; rollback [true]. DEBUG - UserManagerTest.testSaveUser(36) | saving user with updated phone number: com.mycompany.app.model.User@47b35d[username=user,enabled=true,accou ntExpired=false,credentialsExpired=false,accountLocked=false,Granted Authorities: ,ROLE_USER] DEBUG - UserDaoHibernate.saveUser(47) | user's id: -1 DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testSaveUser]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@5861]; rollback [true]. DEBUG - UserDaoHibernate.saveUser(47) | user's id: null DEBUG - UserManagerTest.testAddAndRemoveUser(56) | removing user... DEBUG - UserManagerImpl.removeUser(117) | removing user: 3 DEBUG - UserManagerTest.testAddAndRemoveUser(64) | org.springframework.security.userdetails.UsernameNotFoundException: user 'john' not found... DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testAddAndRemoveUser]. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec Running com.mycompany.app.dao.RoleDaoTest DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testGetRoleInvalid]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testGetRole]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testUpdateRole]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testAddAndRemoveRole]. DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hiberna te3.HibernateTransactionManager@1af9e98]; rollback [true]. DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled back transaction after execution of test [testFindByNamedQuery]. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec Running CoreTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.mycompany.app.util.DateConverterTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Results : Tests run: 47, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] [install:install] [INFO] Installing D:\devworld\sandbox\appfuse-jsf-modular\core\target\appfuse-jsf-modular-core-1.0-SNAPSHOT.jar to D:\devworld\.m2\repository\com\myco mpany\app\appfuse-jsf-modular-core\1.0-SNAPSHOT\appfuse-jsf-modular-core-1.0-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21 seconds [INFO] Finished at: Sat Jul 26 17:46:58 EST 2008 [INFO] Final Memory: 18M/127M [INFO] ------------------------------------------------------------------------ D:\devworld\sandbox\appfuse-jsf-modular\core>cd ../web D:\devworld\sandbox\appfuse-jsf-modular\web>mvn install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Modular Application - Web (JSF) [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}] [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 1 source file to D:\devworld\sandbox\appfuse-jsf-modular\web\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Compiling 1 source file to D:\devworld\sandbox\appfuse-jsf-modular\web\target\test-classes [INFO] [dbunit:operation {execution: test-compile}] [INFO] [surefire:test] [INFO] Surefire report directory: D:\devworld\sandbox\appfuse-jsf-modular\web\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.mycompany.app.AppTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running com.mycompany.app.webapp.action.SignupFormTest INFO [main] SignupFormTest.loadContextLocations(210) | Loading context for locations: classpath:/applicationContext-resources.xml,classpath:/applicati onContext-dao.xml,classpath:/applicationContext-service.xml,classpath*:/applicationContext.xml,/WEB-INF/applicationContext*.xml DEBUG [main] SignupFormTest.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransac tionManager@1c6866d]; rollback [true]. DEBUG [main] UserDaoHibernate.saveUser(47) | user's id: null DEBUG [main] SignupForm.sendUserMessage(210) | sending e-mail to user [self-registered@raibledesigns.com]... DEBUG [main] SignupFormTest.endTransaction(360) | Rolled back transaction after execution of test [testExecute]. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.297 sec Running com.mycompany.app.webapp.listener.StartupListenerTest DEBUG [main] StartupListener.contextInitialized(38) | Initializing context... DEBUG [main] StartupListener.contextInitialized(74) | authenticationManager bean not found, assuming test and ignoring... DEBUG [main] StartupListener.contextInitialized(82) | Remember Me Enabled? null DEBUG [main] StartupListener.contextInitialized(86) | Populating drop-downs... DEBUG [main] LookupDaoHibernate.getRoles(20) | Retrieving all role names... DEBUG [main] StartupListener.setupContext(102) | Drop-down initialization complete [OK] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.578 sec Running com.mycompany.app.webapp.action.UserListTest DEBUG [main] UserListTest.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransacti onManager@1c6866d]; rollback [true]. DEBUG [main] UserListTest.endTransaction(360) | Rolled back transaction after execution of test [testSearch]. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec Running com.mycompany.app.webapp.action.UserFormTest DEBUG [main] UserFormTest.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransacti onManager@1c6866d]; rollback [true]. DEBUG [main] UserFormTest.endTransaction(360) | Rolled back transaction after execution of test [testEdit]. DEBUG [main] UserFormTest.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransacti onManager@1c6866d]; rollback [true]. DEBUG [main] UserDaoHibernate.saveUser(47) | user's id: -1 DEBUG [main] UserFormTest.endTransaction(360) | Rolled back transaction after execution of test [testSave]. DEBUG [main] UserFormTest.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTransacti onManager@1c6866d]; rollback [true]. DEBUG [main] UserManagerImpl.removeUser(117) | removing user: -2 DEBUG [main] UserFormTest.endTransaction(360) | Rolled back transaction after execution of test [testRemove]. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203 sec Running com.mycompany.app.webapp.filter.StaticFilterTest DEBUG [main] MockFilterChain.doFilter(37) | Forwarding to: /editProfile.html Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec Running com.mycompany.app.webapp.filter.LocaleFilterTest DEBUG [main] LocaleFilter.init(157) | Initializing filter '' DEBUG [main] LocaleFilter.init(182) | Filter '' configured successfully DEBUG [main] MockFilterChain.doFilter(37) | Forwarding to: DEBUG [main] LocaleFilter.init(157) | Initializing filter '' DEBUG [main] LocaleFilter.init(182) | Filter '' configured successfully DEBUG [main] MockFilterChain.doFilter(37) | Forwarding to: DEBUG [main] LocaleFilter.init(157) | Initializing filter '' DEBUG [main] LocaleFilter.init(182) | Filter '' configured successfully DEBUG [main] MockFilterChain.doFilter(37) | Forwarding to: DEBUG [main] LocaleFilter.init(157) | Initializing filter '' DEBUG [main] LocaleFilter.init(182) | Filter '' configured successfully DEBUG [main] MockFilterChain.doFilter(37) | Forwarding to: DEBUG [main] LocaleFilter.init(157) | Initializing filter '' DEBUG [main] LocaleFilter.init(182) | Filter '' configured successfully DEBUG [main] MockFilterChain.doFilter(37) | Forwarding to: Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running com.mycompany.app.webapp.action.PasswordHintTest DEBUG [main] PasswordHintTest.startNewTransaction(392) | Began transaction (1): transaction manager [org.springframework.orm.hibernate3.HibernateTrans actionManager@1c6866d]; rollback [true]. DEBUG [main] PasswordHint.execute(39) | Processing Password Hint... DEBUG [main] PasswordHintTest.endTransaction(360) | Rolled back transaction after execution of test [testExecute]. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.265 sec Results : Tests run: 15, Failures: 0, Errors: 0, Skipped: 0 [INFO] [dbunit:operation {execution: test}] [INFO] [war:war] [INFO] Exploding webapp... [INFO] Assembling webapp appfuse-jsf-modular-webapp in D:\devworld\sandbox\appfuse-jsf-modular\web\target\appfuse-jsf-modular-webapp-1.0-SNAPSHOT [INFO] Copy webapp webResources to D:\devworld\sandbox\appfuse-jsf-modular\web\target\appfuse-jsf-modular-webapp-1.0-SNAPSHOT [INFO] Generating war D:\devworld\sandbox\appfuse-jsf-modular\web\target\appfuse-jsf-modular-webapp-1.0-SNAPSHOT.war [INFO] Building war: D:\devworld\sandbox\appfuse-jsf-modular\web\target\appfuse-jsf-modular-webapp-1.0-SNAPSHOT.war [INFO] [cargo:start {execution: start-container}] [INFO] [stalledLocalDeployer] Deploying [D:\devworld\sandbox\appfuse-jsf-modular\web\target\appfuse-jsf-modular-webapp-1.0-SNAPSHOT.war] to [D:\devwor ld\sandbox\appfuse-jsf-modular\web\target/tomcat5x/container/webapps]... [INFO] [talledLocalContainer] Tomcat 5.x starting... [INFO] [talledLocalContainer] 26/07/2008 5:48:45 PM org.apache.coyote.http11.Http11Protocol init [INFO] [talledLocalContainer] INFO: Initializing Coyote HTTP/1.1 on http-8081 [INFO] [talledLocalContainer] 26/07/2008 5:48:45 PM org.apache.catalina.startup.Catalina load [INFO] [talledLocalContainer] INFO: Initialization processed in 555 ms [INFO] [talledLocalContainer] 26/07/2008 5:48:45 PM org.apache.catalina.core.StandardService start [INFO] [talledLocalContainer] INFO: Starting service Catalina [INFO] [talledLocalContainer] 26/07/2008 5:48:45 PM org.apache.catalina.core.StandardEngine start [INFO] [talledLocalContainer] INFO: Starting Servlet Engine: Apache Tomcat/6.0.14 [INFO] [talledLocalContainer] 26/07/2008 5:48:51 PM org.apache.catalina.core.ApplicationContext log [INFO] [talledLocalContainer] INFO: Initializing Spring root WebApplicationContext [INFO] [talledLocalContainer] ERROR [main] ContextLoader.initWebApplicationContext(215) | Context initialization failed [INFO] [talledLocalContainer] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handlerMapping' defined in Servl etContext resource [/WEB-INF/xfire-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'manager' defined in class path resource [applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.appfuse.dao.hibernate.UniversalDaoHibernat e] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert va lue of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching ed itors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:478) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFacto ry.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBean Factory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.ja va:220) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFa ctory.java:429) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationC ontext.java:729) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:566) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manager' defined in c lass path resource [applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchExceptio n: Failed to convert property value of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] fo r property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHibernat e] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:478) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFacto ry.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBean Factory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.ja va:220) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881) [INFO] [talledLocalContainer] at org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping.processBeans(Jsr181HandlerMapping.java:114) [INFO] [talledLocalContainer] at org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping.initApplicationContext(Jsr181HandlerMapping.java:65) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:1 19) [INFO] [talledLocalContainer] at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupp ort.java:69) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73 ) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationCon textAwareProcessor.java:70) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitializ ation(AbstractAutowireCapableBeanFactory.java:350) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapable BeanFactory.java:1329) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:471) [INFO] [talledLocalContainer] ... 29 more [INFO] [talledLocalContainer] Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.appfuse.dao.hi bernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao'; nested exception is java.lang.IllegalArgument Exception: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for pr operty 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:391) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCap ableBeanFactory.java:1287) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCa pableBeanFactory.java:1248) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBe anFactory.java:1008) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:470) [INFO] [talledLocalContainer] ... 47 more [INFO] [talledLocalContainer] Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHiber nate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:219) [INFO] [talledLocalContainer] at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138) [INFO] [talledLocalContainer] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386) [INFO] [talledLocalContainer] ... 51 more [INFO] [talledLocalContainer] 26/07/2008 5:48:57 PM org.apache.catalina.core.StandardContext listenerStart [INFO] [talledLocalContainer] SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.Contex tLoaderListener [INFO] [talledLocalContainer] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handlerMapping' defined in Servl etContext resource [/WEB-INF/xfire-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'manager' defined in class path resource [applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.appfuse.dao.hibernate.UniversalDaoHibernat e] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert va lue of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching ed itors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:478) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFacto ry.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBean Factory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.ja va:220) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFa ctory.java:429) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationC ontext.java:729) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:566) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manager' defined in c lass path resource [applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchExceptio n: Failed to convert property value of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] fo r property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHibernat e] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:478) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFacto ry.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBean Factory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.ja va:220) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881) [INFO] [talledLocalContainer] at org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping.processBeans(Jsr181HandlerMapping.java:114) [INFO] [talledLocalContainer] at org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping.initApplicationContext(Jsr181HandlerMapping.java:65) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:1 19) [INFO] [talledLocalContainer] at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupp ort.java:69) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73 ) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationCon textAwareProcessor.java:70) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitializ ation(AbstractAutowireCapableBeanFactory.java:350) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapable BeanFactory.java:1329) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:471) [INFO] [talledLocalContainer] ... 29 more [INFO] [talledLocalContainer] Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.appfuse.dao.hi bernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao'; nested exception is java.lang.IllegalArgument Exception: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for pr operty 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:391) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCap ableBeanFactory.java:1287) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCa pableBeanFactory.java:1248) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBe anFactory.java:1008) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:470) [INFO] [talledLocalContainer] ... 47 more [INFO] [talledLocalContainer] Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHiber nate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:219) [INFO] [talledLocalContainer] at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138) [INFO] [talledLocalContainer] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386) [INFO] [talledLocalContainer] ... 51 more [INFO] [talledLocalContainer] DEBUG [main] StartupListener.contextInitialized(38) | Initializing context... [INFO] [talledLocalContainer] 26/07/2008 5:48:58 PM org.apache.catalina.core.StandardContext listenerStart [INFO] [talledLocalContainer] SEVERE: Exception sending context initialized event to listener instance of class com.mycompany.app.webapp.listener.Star tupListener [INFO] [talledLocalContainer] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'handlerMapping' defined in Servl etContext resource [/WEB-INF/xfire-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'manager' defined in class path resource [applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.appfuse.dao.hibernate.UniversalDaoHibernat e] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert va lue of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching ed itors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:478) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFacto ry.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBean Factory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.ja va:220) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFa ctory.java:429) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationC ontext.java:729) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) [INFO] [talledLocalContainer] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) [INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:566) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [INFO] [talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manager' defined in c lass path resource [applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchExceptio n: Failed to convert property value of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] fo r property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHibernat e] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:478) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFacto ry.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBean Factory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.ja va:220) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881) [INFO] [talledLocalContainer] at org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping.processBeans(Jsr181HandlerMapping.java:114) [INFO] [talledLocalContainer] at org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping.initApplicationContext(Jsr181HandlerMapping.java:65) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:1 19) [INFO] [talledLocalContainer] at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupp ort.java:69) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73 ) [INFO] [talledLocalContainer] at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationCon textAwareProcessor.java:70) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitializ ation(AbstractAutowireCapableBeanFactory.java:350) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapable BeanFactory.java:1329) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:471) [INFO] [talledLocalContainer] ... 29 more [INFO] [talledLocalContainer] Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.appfuse.dao.hi bernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao'; nested exception is java.lang.IllegalArgument Exception: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for pr operty 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:391) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCap ableBeanFactory.java:1287) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCa pableBeanFactory.java:1248) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBe anFactory.java:1008) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBe anFactory.java:470) [INFO] [talledLocalContainer] ... 47 more [INFO] [talledLocalContainer] Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHiber nate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching editors or conversion strategy found [INFO] [talledLocalContainer] at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:219) [INFO] [talledLocalContainer] at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138) [INFO] [talledLocalContainer] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386) [INFO] [talledLocalContainer] ... 51 more [INFO] [talledLocalContainer] 26/07/2008 5:48:59 PM org.apache.catalina.core.StandardContext start [INFO] [talledLocalContainer] SEVERE: Error listenerStart [INFO] [talledLocalContainer] 26/07/2008 5:48:59 PM org.apache.catalina.core.StandardContext start [INFO] [talledLocalContainer] SEVERE: Context [/appfuse-jsf-modular-webapp-1.0-SNAPSHOT] startup failed due to previous errors [INFO] [talledLocalContainer] 26/07/2008 5:48:59 PM org.apache.catalina.core.ApplicationContext log [INFO] [talledLocalContainer] INFO: Closing Spring root WebApplicationContext [INFO] [talledLocalContainer] 26/07/2008 5:49:00 PM org.apache.catalina.startup.HostConfig deployWAR [INFO] [talledLocalContainer] INFO: Deploying web application archive cargocpc.war [INFO] [talledLocalContainer] 26/07/2008 5:49:00 PM org.apache.coyote.http11.Http11Protocol start [INFO] [talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-8081 [INFO] [talledLocalContainer] 26/07/2008 5:49:00 PM org.apache.catalina.startup.Catalina start [INFO] [talledLocalContainer] INFO: Server startup in 15143 ms [INFO] [talledLocalContainer] Tomcat 5.x started on port [8081] [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [echo] Testing 'appfuse-jsf-modular-webapp-1.0-SNAPSHOT' with locale 'en' Login: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: D:\devworld\sandbox\appfuse-jsf-modular\web\src\test\resources\login.xml:1: HTTP error 404 404 /appfuse-jsf-modular-webapp-1.0-SNAPSHOT/ for http://localhost:8081/appfuse-jsf-modular-webapp-1.0-SNAPSHOT/ [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 46 seconds [INFO] Finished at: Sat Jul 26 17:49:06 EST 2008 [INFO] Final Memory: 36M/127M [INFO] ------------------------------------------------------------------------

    AppFuse JIRA | 8 years ago | Andrew de Bruijn
    org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.appfuse.dao.hibernate.UniversalDaoHibernat e] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert va lue of type [org.appfuse.dao.hibernate.UniversalDaoHibernate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching ed itors or conversion strategy found
  2. 0

    Trouble with the 5.0.1 Server

    pentaho.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basicProcessingFilter' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Cannot create inner bean 'pen:bean#427b6cc7' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'providers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#427b6cc7': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.providers.dao.DaoAuthenticationProvider#1' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml]: Cannot create inner bean 'pen:bean#335dcd0c' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#335dcd0c': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cachingUserDetailsService' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/pentahoObjects.spring.xml]: Cannot resolve reference to bean 'UserDetailsService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserDetailsService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml]: Cannot resolve reference to bean 'userRoleDaoTxn' while setting bean property 'userRoleDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDaoTxn' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'userRoleDao' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDao' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'adminJcrTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminJcrTemplate' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'jcrAdminSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrAdminSessionFactory' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'jcrRepository' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrRepository' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Invocation of init method failed; nested exception is javax.jcr.RepositoryException: The repository home /opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/jackrabbit/repository appears to be in use since the file named .lock is locked by another process.
  3. 0

    Pentaho BI Server 5.0.1CE MySQL installation guide | Anonymous Business Intelligence

    wordpress.com | 2 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘filterChainProxy’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemapplicationContext-spring-security.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘basicProcessingFilter’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemapplicationContext-spring-security.xml]: Cannot resolve reference to bean ‘authenticationManager’ while setting bean property ‘authenticationManager’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘authenticationManager’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemapplicationContext-spring-security.xml]: Cannot create inner bean ‘pen:bean#40233b8d’ of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property ‘providers’ with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pen:bean#40233b8d’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.security.providers.dao.DaoAuthenticationProvider#1’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemapplicationContext-spring-security-jackrabbit.xml]: Cannot create inner bean ‘pen:bean#440eca83’ of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property ‘userDetailsService’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pen:bean#440eca83’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘cachingUserDetailsService’ defined in file [C:Pentahobiserver-cepentaho-solutionssystempentahoObjects.spring.xml]: Cannot resolve reference to bean ‘UserDetailsService’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘UserDetailsService’: FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userDetailsService’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemapplicationContext-spring-security-jackrabbit.xml]: Cannot resolve reference to bean ‘userRoleDaoTxn’ while setting bean property ‘userRoleDao’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userRoleDaoTxn’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemrepository.spring.xml]: Cannot resolve reference to bean ‘userRoleDao’ while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userRoleDao’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemrepository.spring.xml]: Cannot resolve reference to bean ‘adminJcrTemplate’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘adminJcrTemplate’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemrepository.spring.xml]: Cannot resolve reference to bean ‘jcrAdminSessionFactory’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jcrAdminSessionFactory’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemrepository.spring.xml]: Cannot resolve reference to bean ‘jcrRepository’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jcrRepository’ defined in file [C:Pentahobiserver-cepentaho-solutionssystemrepository.spring.xml]: Invocation of init method failed; nested exception is org.apache.jackrabbit.core.config.ConfigurationException: Duplicate configuration element FileSystem in Repository.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    users-servicemix.apache.org - Re: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'. - msg#00091 - Recent Discussion OSDir.com

    osdir.com | 8 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://258.0:0/META-INF/spring/dao-infra.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Must start with Java agent to use InstrumentationLoadTimeWeaver. See Spring documentation.
  6. 0

    users-servicemix.apache.org - Re: Rotating karaf log - msg#00093 - Recent Discussion OSDir.com

    osdir.com | 7 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [bundle://258.0:0/META-INF/spring/dao-infra.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Must start with Java agent to use InstrumentationLoadTimeWeaver. See Spring documentation.

    25 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot convert value of type [org.appfuse.dao.hibernate.UniversalDaoHiber nate] to required type [com.mycompany.app.dao.UniversalDao] for property 'dao': no matching editors or conversion strategy found

      at org.springframework.beans.TypeConverterDelegate.convertIfNecessary()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:219)[talledLocalContainer]
      2. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)[talledLocalContainer]
      3. org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386)[talledLocalContainer]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287)[INFO]
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248)[INFO]
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)[INFO]
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)[talledLocalContainer]
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[talledLocalContainer]
      8 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[talledLocalContainer]
      1 frame
    4. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[talledLocalContainer]
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[talledLocalContainer]
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)[talledLocalContainer]
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[talledLocalContainer]
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[talledLocalContainer]
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[talledLocalContainer]
      6 frames
    5. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)[talledLocalContainer]
      1 frame
    6. XFire
      Jsr181HandlerMapping.initApplicationContext
      1. org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping.processBeans(Jsr181HandlerMapping.java:114)[talledLocalContainer]
      2. org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping.initApplicationContext(Jsr181HandlerMapping.java:65)[talledLocalContainer]
      2 frames
    7. Spring Context
      ApplicationObjectSupport.initApplicationContext
      1. org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119)[INFO]
      1 frame
    8. Spring
      WebApplicationObjectSupport.initApplicationContext
      1. org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:69)[INFO]
      1 frame
    9. Spring Context
      ApplicationContextAwareProcessor.postProcessBeforeInitialization
      1. org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)[INFO]
      2. org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:70)[INFO]
      2 frames
    10. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)[INFO]
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1329)[INFO]
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)[talledLocalContainer]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[talledLocalContainer]
      4 frames
    11. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[talledLocalContainer]
      1 frame
    12. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[talledLocalContainer]
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[talledLocalContainer]
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)[talledLocalContainer]
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[talledLocalContainer]
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[talledLocalContainer]
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[talledLocalContainer]
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)[INFO]
      7 frames
    13. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)[talledLocalContainer]
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)[talledLocalContainer]
      2 frames
    14. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)[talledLocalContainer]
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)[talledLocalContainer]
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)[talledLocalContainer]
      3 frames
    15. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)[talledLocalContainer]
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)[talledLocalContainer]
      3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)[talledLocalContainer]
      4. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)[talledLocalContainer]
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)[talledLocalContainer]
      6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)[talledLocalContainer]
      7. org.apache.catalina.core.StandardService.start(StandardService.java:516)[talledLocalContainer]
      8. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)[talledLocalContainer]
      9. org.apache.catalina.startup.Catalina.start(Catalina.java:566)[talledLocalContainer]
      9 frames
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[talledLocalContainer]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[talledLocalContainer]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[talledLocalContainer]
      4. java.lang.reflect.Method.invoke(Method.java:597)[talledLocalContainer]
      4 frames
    17. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)[talledLocalContainer]
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)[talledLocalContainer]
      2 frames