I have the following error when I run the command *ant fresh_install*
test_database:
[java] 2022-08-04 11:37:53,736 WARN
org.dspace.servicemanager.DSpaceServiceManager @ Unable to locate bean by
name or id=database. Will try to look up bean by type next.
[java]
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'database' available
[java] at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:872)
~[spring-beans-5.3.20.jar:5.3.20]
[java] at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1344)
~[spring-beans-5.3.20.jar:5.3.20]
[java] at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:309)
~[spring-beans-5.3.20.jar:5.3.20]
[java] at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:213)
~[spring-beans-5.3.20.jar:5.3.20]
[java] at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1160)
~[spring-context-5.3.20.jar:5.3.20]
[java] at
org.dspace.servicemanager.DSpaceServiceManager.getServiceByName(DSpaceServiceManager.java:426)
[dspace-services-7.4-SNAPSHOT.jar:7.4-SNAPSHOT]
[java] at
org.dspace.scripts.ScriptServiceImpl.getScriptConfiguration(ScriptServiceImpl.java:33)
[dspace-api-7.4-SNAPSHOT.jar:7.4-SNAPSHOT]
[java] at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:125)
[dspace-api-7.4-SNAPSHOT.jar:7.4-SNAPSHOT]
[java] at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
[dspace-api-7.4-SNAPSHOT.jar:7.4-SNAPSHOT]
[java] Caught exception:
[java] org.postgresql.util.PSQLException: ERROR: relation
"schema_version" does not exist
[java] Posi??o: 23
[java] at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2675)
[java] at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2365)
[java] at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:355)
[java] at
org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:490)
[java] at
org.postgresql.jdbc.PgStatement.execute(PgStatement.java:408)
[java] at
org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:166)
[java] at
org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)
[java] at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:122)
[java] at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:122)
[java] at
org.dspace.storage.rdbms.DatabaseUtils.getCurrentFlywayState(DatabaseUtils.java:1424)
[java] at
org.dspace.storage.rdbms.FlywayUpgradeUtils.upgradeFlywayTable(FlywayUpgradeUtils.java:83)
[java] at
org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:112)
[java] at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[java] at
java.base/java.lang.reflect.Method.invoke(Method.java:577)
[java] at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
[java] at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
[java] at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
BUILD FAILED
C:\DSpace-main\dspace\target\dspace-installer\build.xml:770: Java returned:
1
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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/3cb5056a-7ee7-4853-bb13-d104ff17b50fn%40googlegroups.com.