Git Product home page Git Product logo

Comments (7)

mvollmary avatar mvollmary commented on May 22, 2024 1

@hberndt @Sukrat @mark--
I pushed a fix which worked for me when using spring-boot-devtools. Would be nice if you can test it in your environment too. The fix is in 1.0.2-SNAPSHOT and 2.0.3-SNAPSHOT. Please let me know your results, then I can release a new version.

Keep in mind, that you have to add the staging repository of oss.sonatype.org in your project when using one of our snapshots.

<repositories>
  <repository>
    <id>arangodb-snapshots</id>
    <url>https://oss.sonatype.org/content/groups/staging</url>
  </repository>
</repositories>

Thanks & best
Mark

from spring-data.

sukratkashyap avatar sukratkashyap commented on May 22, 2024

I am getting the same error.
compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version: '1.5.10.RELEASE'
This dependency in the project seems to trigger it. Do you have this dependency as well. I want to know the work around to it as well.

from spring-data.

mvollmary avatar mvollmary commented on May 22, 2024

Thank you both for reporting. I'll take a look.

from spring-data.

mark-- avatar mark-- commented on May 22, 2024

We have the same problem when using @MockBean annotations. As a workaround you can set a name for the Annoatation like this: @MockBean(name="foo") Any name will do.

See https://stackoverflow.com/questions/49303080/spring-boot-application-context-with-arangodb-repository-cannot-be-created-if-us for a detailed description and a minimal example project. See the discussion for spring-projects/spring-boot#6541 for a possible explanation.

from spring-data.

mark-- avatar mark-- commented on May 22, 2024

We tested version 1.0.2-SNAPSHOT and Spring Boot 1.5.6.Release and it works!
We tested with and without devtools and @MockBean with and without name Parameter.
Thank you for the quick response!

from spring-data.

sukratkashyap avatar sukratkashyap commented on May 22, 2024

@mpv1989 I have tested the 1.0.2-SNAPSHOT with Spring Boot 1.5.10.Release and it works fine with devtools!

from spring-data.

mvollmary avatar mvollmary commented on May 22, 2024

released versions 1.0.2 and 2.0.3.

from spring-data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.