Spring Boot Repository null

OnDemand

Top Contributor
Hey,
ich verzweifle langsam ;D

Mein Repository ist null, andere Serviceklassen sind genau so aufgebaut und funktionieren. Hab in IntelliJ auch schon Cache geleert usw.
Was könnte das noch sein, jemand ne Idee?

1620931793837.png

Java:
@Repository
public interface InventoryLocationRepository extends JpaRepository<InventoryLocation, Long> {
    InventoryLocation findByNameShort(String shortName);

    /**
     * Get all ShortNames
     *
     * @return list of existing locations, get only shortNames
     */
    @Query(value = "SELECT name_short FROM inventory_locations", nativeQuery = true)
    List<String> getAllInventoryLocationShortNames();
 
Zuletzt bearbeitet:

Zurück
Oben