Hello Tim,

the command ./dspace database migrate ignored fixed not the problem.

But then I removed the old database and created a new one.

After these action the dspace backend-server started.


Tim thank you very match for your help.

Kosmas


Am 22.04.2021 um 17:42 schrieb Tim Donohue:
Please respond back on the mailing list.  I'm not able to provide one on one support, but I'm glad to help on the mailing list.

In this situation, it sounds like you might need to run "./dspace database migrate ignored" (as this is required sometimes when upgrading between Betas)

If you run into more problems, I'll gladly do my best to help if you ask on the mailing list. Thanks!

Tim
------------------------------------------------------------------------
*From:* Kosmas Kaifel <[email protected]>
*Sent:* Thursday, April 22, 2021 1:55 AM
*To:* Tim Donohue <[email protected]>
*Subject:* Re: [dspace-tech] DSpace 7 Beta5 Backend Rebuild with maven

Hello Tim,


Thank you for the answer.
The maven build run now without errors, but the backend-server will not start.

My setup is:

OS:        Debian GNU/Linux 10

Java:      OpenJDK 64-Bit Server VM (build 11.0.9.1+1-post-Debian-1deb10u2, mixed mode, sharing)

maven: OS name: "linux", version: "4.19.0-10-amd64", arch: "amd64", family: "unix"

ant:       Apache Ant(TM) version 1.10.5 compiled on August 27 2018


Best Regards Kosmas


Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-04-22 08:28:08,874 ERROR org.springframework.boot.SpringApplication @ Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationRestController': Unsatisfied dependency expressed through field 'converter'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'converterService': Unsatisfied dependency expressed through field 'webSecurityExpressionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webSecurityExpressionEvaluator' defined in file [/opt/tomcat/webapps/server/WEB-INF/classes/org/dspace/app/rest/security/WebSecurityExpressionEvaluator.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcHandlerMappingIntrospector' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restHandlerMapping' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.webmvc.support.DelegatingHandlerMapping]: Factory method 'restHandlerMapping' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaHelper' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/dspace/sw/dspace-run/config/spring/api/core-hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [tilted] in table [public.relationship_type]     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:882) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]     at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:152) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:132) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]     at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:92) [spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE]     at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172) [spring-web-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5128) [catalina.jar:9.0.37]     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) [catalina.jar:9.0.37]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) [catalina.jar:9.0.37]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) [catalina.jar:9.0.37]     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133) [catalina.jar:9.0.37]     at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1866) [catalina.jar:9.0.37]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.37]     at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) [?:?]     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045) [catalina.jar:9.0.37]     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429) [catalina.jar:9.0.37]     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) [catalina.jar:9.0.37]     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) [catalina.jar:9.0.37]     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.37]     at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.37]     at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.37]     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) [catalina.jar:9.0.37]     at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) [catalina.jar:9.0.37]     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) [catalina.jar:9.0.37]     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) [catalina.jar:9.0.37]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.37]     at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) [?:?]     at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) [catalina.jar:9.0.37]     at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) [catalina.jar:9.0.37]     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]     at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) [catalina.jar:9.0.37]     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]     at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) [catalina.jar:9.0.37]     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.37]     at org.apache.catalina.startup.Catalina.start(Catalina.java:738) [catalina.jar:9.0.37]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342) [bootstrap.jar:9.0.37]     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473) [bootstrap.jar:9.0.37] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'converterService': Unsatisfied dependency expressed through field 'webSecurityExpressionEvaluator'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webSecurityExpressionEvaluator' defined in file [/opt/tomcat/webapps/server/WEB-INF/classes/org/dspace/app/rest/security/WebSecurityExpressionEvaluator.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcHandlerMappingIntrospector' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restHandlerMapping' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.webmvc.support.DelegatingHandlerMapping]: Factory method 'restHandlerMapping' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaHelper' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/dspace/sw/dspace-run/config/spring/api/core-hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [tilted] in table [public.relationship_type]     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1290) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1210) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]
    ... 60 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webSecurityExpressionEvaluator' defined in file [/opt/tomcat/webapps/server/WEB-INF/classes/org/dspace/app/rest/security/WebSecurityExpressionEvaluator.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcHandlerMappingIntrospector' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restHandlerMapping' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.webmvc.support.DelegatingHandlerMapping]: Factory method 'restHandlerMapping' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaHelper' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/dspace/sw/dspace-run/config/spring/api/core-hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [tilted] in table [public.relationship_type]     at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:798) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:228) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1358) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1204) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1290) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1210) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.5.RELEASE.jar:5.2.5.RELEASE]

Am 21.04.2021 um 16:23 schrieb 'Tim Donohue' via DSpace Technical Support:
Hello Kosmas,

If you've previously run a Beta 4 build on that machine, then I'd recommend first running a

mvn clean

This will reset/cleanup your Beta 4 build.  After that, run the usual

mvn package


If that doesn't work, you could try running "mvn -U package", forcing Maven to check for updated dependencies.

If that still doesn't work, then we'd need more information on your setup.  Make sure you are running Java 11, Maven 3.3 or above, etc.

Good luck,

Tim
------------------------------------------------------------------------
*From:* [email protected] <mailto:[email protected]> <[email protected]> <mailto:[email protected]> on behalf of Kosmas Kaifel <[email protected]> <mailto:[email protected]>
*Sent:* Wednesday, April 21, 2021 1:23 AM
*To:* [email protected] <mailto:[email protected]> <[email protected]> <mailto:[email protected]>
*Subject:* [dspace-tech] DSpace 7 Beta5 Backend Rebuild with maven
Hello,

during the rebuild the backend-server with maven I receive a lot of errors.
On the same machine if I rebuild DSpace7 Beta4 this run without errors.

Thanks Kosmas

dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[247,31]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[293,26]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[293,63]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[299,26]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[300,34]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[301,31]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[347,26]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[347,63]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[394,26]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[394,63]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[400,26]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[401,34]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[402,31]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/repository/MockObjectRestRepository.java:[22,8]
cannot access
org.dspace.app.rest.exception.RepositoryMethodNotImplementedException
   bad class file:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/exception/RepositoryMethodNotImplementedException.class
     unable to access file: java.nio.file.NoSuchFileException:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/exception/RepositoryMethodNotImplementedException.class
     Please remove or make sure it appears in the correct subdirectory
of the classpath.
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/model/hateoas/RootResourceTest.java:[31,9]
cannot access org.dspace.app.rest.model.hateoas.RootResource
   bad class file:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/hateoas/RootResource.class
     unable to access file: java.nio.file.NoSuchFileException:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/hateoas/RootResource.class
     Please remove or make sure it appears in the correct subdirectory
of the classpath.
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/model/FacetResultsRestTest.java:[31,9]
cannot access org.dspace.app.rest.model.SearchFacetValueRest
   bad class file:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/SearchFacetValueRest.class
     unable to access file: java.nio.file.NoSuchFileException:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/SearchFacetValueRest.class
     Please remove or make sure it appears in the correct subdirectory
of the classpath.
[INFO] 34 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for DSpace Parent Project 7.0-beta5:
[INFO]
[INFO] DSpace Parent Project .............................. SUCCESS [
1.707 s]
[INFO] DSpace Services Framework :: API and Implementation SUCCESS [
9.646 s]
[INFO] DSpace Kernel :: API and Implementation ............ SUCCESS
[01:09 min]
[INFO] DSpace Addon Modules ............................... SUCCESS [
0.380 s]
[INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [
1.191 s]
[INFO] DSpace OAI-PMH ..................................... SUCCESS [
0.983 s]
[INFO] DSpace RDF ......................................... SUCCESS [
0.507 s]
[INFO] DSpace SWORD ....................................... SUCCESS [
4.533 s]
[INFO] DSpace SWORD v2 .................................... SUCCESS [
0.635 s]
[INFO] DSpace Server Webapp ............................... FAILURE [
28.446 s]
[INFO] DSpace Server Webapp:: Local Customizations ........ SKIPPED
[INFO] DSpace Assembly and Configuration .................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  01:58 min
[INFO] Finished at: 2021-04-20T12:44:10+02:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
(default-testCompile) on project dspace-server-webapp: Compilation
failure: Compilation failure:
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/utils/URLUtilsTest.java:[48,20]
cannot access org.dspace.app.rest.utils.URLUtils
[ERROR]   bad class file:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/utils/URLUtils.class
[ERROR]     unable to access file: java.nio.file.NoSuchFileException:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/utils/URLUtils.class
[ERROR]     Please remove or make sure it appears in the correct
subdirectory of the classpath.
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[79,26]
cannot access org.dspace.app.rest.model.SearchResultsRest.Sorting
[ERROR]   bad class file:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/SearchResultsRest$Sorting.class
[ERROR]     unable to access file: java.nio.file.NoSuchFileException:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/SearchResultsRest$Sorting.class
[ERROR]     Please remove or make sure it appears in the correct
subdirectory of the classpath.
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[79,63]
cannot access org.dspace.app.rest.model.DiscoveryResultsRest
[ERROR]   bad class file:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/DiscoveryResultsRest.class
[ERROR]     unable to access file: java.nio.file.NoSuchFileException:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/DiscoveryResultsRest.class
[ERROR]     Please remove or make sure it appears in the correct
subdirectory of the classpath.
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[85,26]
cannot access org.dspace.app.rest.model.SearchResultsRest.AppliedFilter
[ERROR]   bad class file:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/SearchResultsRest$AppliedFilter.class
[ERROR]     unable to access file: java.nio.file.NoSuchFileException:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/model/SearchResultsRest$AppliedFilter.class
[ERROR]     Please remove or make sure it appears in the correct
subdirectory of the classpath.
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[86,34]
cannot find symbol
[ERROR]   symbol:   class AppliedFilter
[ERROR]   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[87,31]
cannot find symbol
[ERROR]   symbol:   class AppliedFilter
[ERROR]   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[133,26]
cannot find symbol
[ERROR]   symbol:   class Sorting
[ERROR]   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[133,63]
cannot find symbol
[ERROR]   symbol:   class Sorting
[ERROR]   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[138,26]
cannot find symbol
[ERROR]   symbol:   class AppliedFilter
[ERROR]   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[139,34]
cannot find symbol
[ERROR]   symbol:   class AppliedFilter


--
+---------------------------------------------------------------+
Universität Ulm
Kommunikations- und Informationszentrum (kiz)
Abt. Informationsmedien
Albert-Einstein-Allee 37
89081 Ulm
Tel.   0731/50-15495
EMail: [email protected] <mailto:[email protected]>
+----------------------------------------------------------------+

--
All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/9729895a-9621-0b74-146f-d85fb5ac7700%40uni-ulm.de.
--
All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ <https://duraspace.org/about/policies/code-of-conduct/>
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/DM5PR2201MB11480F528E66F7CEDBE3E8DCED479%40DM5PR2201MB1148.namprd22.prod.outlook.com <https://groups.google.com/d/msgid/dspace-tech/DM5PR2201MB11480F528E66F7CEDBE3E8DCED479%40DM5PR2201MB1148.namprd22.prod.outlook.com?utm_medium=email&utm_source=footer>.
--
+---------------------------------------------------------------+
Universität Ulm
Kommunikations- und Informationszentrum (kiz)
Abt. Informationsmedien
Albert-Einstein-Allee 37
89081 Ulm
Tel.   0731/50-15495
EMail:[email protected]  <mailto:[email protected]>
+----------------------------------------------------------------+

--
+---------------------------------------------------------------+
Universität Ulm
Kommunikations- und Informationszentrum (kiz)
Abt. Informationsmedien
Albert-Einstein-Allee 37
89081 Ulm
Tel.   0731/50-15495
EMail: [email protected]
+----------------------------------------------------------------+

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/03d6a05a-ee03-b776-8b98-3dea24a83d19%40uni-ulm.de.

Reply via email to