Hi Peter,

This sounds like the bug reported 
here: https://github.com/DSpace/DSpace/issues/9476

If you have found a way to fix this bug, would you be willing to submit a 
PR?  Or add your comments to the ticket (so that someone else can create a 
PR from it)

Thanks for helping to test DSpace 8 rc1!

Tim

On Wednesday, April 17, 2024 at 2:29:45 PM UTC-5 Peter wrote:

> Hi,
>
> I'm just in the process of installing DSpace 8 rc1 locally (Debian 12). I 
> decided to deploy JAR application for backend. Running:
>
> java -jar 
> [dspace-source]/dspace/modules/server-boot/target/server-boot-[DSpace-version].jar
>
> resulted in Spring Boot outputting:
>
> ANTLR Tool version 4.13.0 used for code generation does not match the 
> current runtime version 4.5.1. ANTLR Runtime version 4.13.0 used for parser 
> compilation does not match the current runtime version 4.5.1.
>
> and multiple apparently related errors in DSpace log. Couldn't continue 
> the installation (which froze at creating admin account).
>
>
> Running "mvn dependency:tree -Dverbose -Dincludes=org.antlr" gave:
>
> [INFO] --- maven-dependency-plugin:3.6.1:tree (default-cli) @ server-boot 
> ---
> [INFO] org.dspace:server-boot:jar:8.0-rc1
> [INFO] +- org.dspace:dspace-api:test-jar:tests:8.0-rc1:test
> [INFO] |  \- org.hibernate.orm:hibernate-core:jar:6.4.4.Final:compile 
> (version managed from 6.4.4.Final)
> [INFO] |     \- (org.antlr:antlr4-runtime:jar:4.13.0:runtime - omitted for 
> conflict with 4.5.1-1)
> [INFO] \- org.apache.solr:solr-core:jar:8.11.3:test
> [INFO]    \- org.antlr:antlr4-runtime:jar:4.5.1-1:runtime (scope not 
> updated to runtime)
>
> So I aligned with the ANTLR version Hibernate prefers by adding this to 
> pom.xml at the server-boot module level:
>
>         <dependency>
>             <groupId>org.antlr</groupId>
>             <artifactId>antlr4-runtime</artifactId>
>             <version>4.13.0</version> <!-- Enforcing version used by 
> Hibernate -->
>         </dependency>
>
> Then rebuilt the project. The warning had gone and I could continue 
> installation with the rest of the steps (well, for now I am receiving 
> browser 503 error as I am trying to add HTTPS support).
>
> Not sure if this is of any relevance, just wanted to share my experience 
> with the new version so far.
>
> Best,
> Peter
>

-- 
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 Developers" 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-devel/d0f5c528-2071-43c9-9cb8-c8ba8de68c59n%40googlegroups.com.

Reply via email to