Hi All, I am trying to do a local build out of cxf/branches/2.2.x-fixes to include my patch to:
https://issues.apache.org/jira/browse/CXF-2900 WSDLValidator through Stax2DOM leaves input streams open which causes input files to be locked. I get an unrelated (I think) error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyBean': Cannot create inner bean '(inner bean)' of type [org.apache.cxf.service.fac tory.HelloServiceProxyFactory] while setting bean property 'serviceBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3' defined in class path resource [org/apache/cxf/frontend/spring/servers.xml]: Instantiation of bean failed; nested exception is org.springframework.beans .BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.service.factory.HelloServiceProxyFactory]: Constructor threw exception; nested exception is java. lang.Error: Unresolved compilation problems: The import org.springframework.aop cannot be resolved ProxyFactory cannot be resolved to a type I've updated my local SVN sandbox to make sure I have the latest (At revision: 964666). I am building on Windows Vista 64 bits with Sun Java 1.6.0_20. Is this a POM issue? Thank you in advance for your help. The relevant portion of the build output is: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.cxf.frontend.soap.SoapBindingSelectionTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.882 sec Running org.apache.cxf.service.factory.ServerFactoryTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.709 sec Running org.apache.cxf.service.factory.RountripTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.251 sec Running org.apache.cxf.service.stax.StaxDatabindingTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec Running org.apache.cxf.frontend.spring.ClientServerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.522 sec Running org.apache.cxf.service.factory.ReflectionServiceFactoryTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.242 sec Running org.apache.cxf.service.factory.ClientFactoryBeanTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 sec Running org.apache.cxf.frontend.spring.SpringBeansTest Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.58 sec <<< FAILURE! testServers(org.apache.cxf.frontend.spring.SpringBeansTest) Time elapsed: 0.383 sec <<< ERROR! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyBean': Cannot create inner bean '(inner bean)' of type [org.apache.cxf.service.fac tory.HelloServiceProxyFactory] while setting bean property 'serviceBean'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3' defined in class path resource [org/apache/cxf/frontend/spring/servers.xml]: Instantiation of bean failed; nested exception is org.springframework.beans .BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.service.factory.HelloServiceProxyFactory]: Constructor threw exception; nested exception is java. lang.Error: Unresolved compilation problems: The import org.springframework.aop cannot be resolved ProxyFactory cannot be resolved to a type at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at org.apache.cxf.frontend.spring.SpringBeansTest.testServers(SpringBeansTest.java:51) 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.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102) at org.apache.maven.surefire.Surefire.run(Surefire.java:180) 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:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3' defined in class path resource [org/apache/cxf/frontend/spri ng/servers.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.servi ce.factory.HelloServiceProxyFactory]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: The import org.springframework.aop cannot be resolved ProxyFactory cannot be resolved to a type at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219) ... 44 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.service.factory.HelloServiceProxyFactory]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: The import org.springframework.aop cannot be resolved ProxyFactory cannot be resolved to a type at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877) ... 50 more Caused by: java.lang.Error: Unresolved compilation problems: The import org.springframework.aop cannot be resolved ProxyFactory cannot be resolved to a type at org.apache.cxf.service.factory.HelloServiceProxyFactory.<init>(HelloServiceProxyFactory.java:21) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) ... 52 more Results : Tests in error: testServers(org.apache.cxf.frontend.spring.SpringBeansTest) Tests run: 17, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to C:\Users\ggregory\b\svn\apache.org\cxf\branches\2.2.x-fixes\rt\frontend\simple\target\surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 minutes 31 seconds [INFO] Finished at: Thu Jul 15 18:10:02 PDT 2010 [INFO] Final Memory: 143M/322M [INFO] ------------------------------------------------------------------------ Gary Gregory Senior Software Engineer Seagull Software email: [email protected] email: [email protected] www.seagullsoftware.com
