Giter VIP home page Giter VIP logo

try-enablejparepo-configannotation's Introduction

This repo demonstrates the issue https://youtrack.jetbrains.com/issue/IDEA-229568 where the repository component scanning does not get detected when @EnableJpaRepositories is specified on a composed @Configuration annotation, such as:

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Configuration
@EntityScan("me.itzg.somelib.entities")
@EnableJpaRepositories("me.itzg.somelib.repositories")
public @interface EnableExtraJpa {

}

Even with the JPA repositories specified as such, the autowiring of a repository is reported as missing:

IntelliJ version details

IntelliJ IDEA 2019.3.1 (Ultimate Edition)
Build #IU-193.5662.53, built on December 17, 2019
Runtime version: 11.0.5+10-b520.17 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.6
Registry: 
Non-Bundled Plugins: IvyIDEA, Karma, Lombook Plugin, MavenRunHelper, PlantUML integration, Pythonid, String Manipulation, YAML/Ansible support, artsiomch.cmake, claims.bold.intellij.avro, com.dmarcotte.handlebars, org.jetbrains.plugins.go-template, org.jetbrains.plugins.go, com.google.gct.core, com.intellij.kubernetes, com.perl5, com.robohorse.robopojogenerator, io.protostuff.protostuff-jetbrains-plugin, jms-messenger, name.kropp.intellij.makefile, net.sjrx.intellij.plugins.systemdunitfiles, org.intellij.RegexpTester, org.intellij.plugins.hcl, org.intellij.plugins.tickscript, org.intellij.scala, org.jetbrains.plugins.ruby, org.nik.presentation-assistant, org.plugin.dot.id, org.toml.lang, ru.adelf.idea.dotenv

Reported issue

https://youtrack.jetbrains.com/issue/IDEA-229568

try-enablejparepo-configannotation's People

Contributors

itzg avatar

Watchers

 avatar  avatar

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.