Open florianchappaz opened 5 months ago
RDF4J is compatible with spring-boot 2.7.16.
@florianchappaz this may or may not be a compatibility issue. It may just be a configuration issue.
Have you tried using an inmemory repository? The property to activate that is
rdf4j.spring.repository.inmemory.enabled=true
(and if you want: rdf4j.spring.repository.inmemory.use-shacl-sail=true
)
FYI, I aim to upgrade rdf4j-spring to support to the latest spring boot version in the not so distant future. I haven't looked into compatibility issues with spring boot 3 so far, but I would not expect it to work out of the box.
I've investigated the issue further and here are my findings:
Using in-memory repository: Same error persists.
VPN disabled:
No configuration:
Downgrading project:
The issue seems to be related to incompatibility with the newest Spring version.
If you need any additional information or assistance, please let me know.
Thanks for your help diagnosing this! I will check back.
Current Behavior
Running a project relying on Spring Boot v3.0.4, I'm getting this error when the RDF4JConfig attempts to build the RDF4JTemplate:
rdf4j spring components are built relying on Spring Boot v2.7.16, making them uncompatible with a Spring Boot v3 project.
Expected Behavior
I expected the @Import(RDF4JConfig::class) to automatically build the Repository from my application.properties.
Steps To Reproduce
Setup a Maven project based on
Follow the basic setup presented in rdf4j-spring, especially the setup of the application properties.
Version
5.0.0
Are you interested in contributing a solution yourself?
Perhaps?
Anything else?
It seems like the issue has already been mentioned in this discussion.