#Hibernate ORM is disabled because no JPA entities were found
1 messages ยท Page 1 of 1 (latest)
โ This post has been reserved for your question.
Hey @nocturne plank! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
I think Quarkus 3.1.0.Final uses Jakarta EE 9 or 10
so you need to use jakarta.persistence and not javax.persistence
meaning these dependencies are wrong
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>javax.transaction-api</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.1.1</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
as well as import javax.persistence.*; should be replaced with import jakarta.persistence.*;
It works but I have other problem now, that I can't see the endpoint site it only shows "Resource not found"
Can you show the full error?
Listening for transport dt_socket at address: 5005
Press [h] for more options>
Tests paused
Press [r] to resume testing, [h] for more options>
Press [r] to resume testing, [o] Toggle test output, [h] for more options>
__ ____ __ _____ ___ __ ____ ______
--/ __ \/ / / / _ | / _ \/ //_/ / / / __/
-/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2023-06-06 20:45:14,690 INFO [io.quarkus] (Quarkus Main Thread) Server 1.0.0-SNAPSHOT on JVM (powered by Quarkus 3.1.0.Final) started in 2.860s. Listening on: http://0.0.0.0:8080
2023-06-06 20:45:14,692 INFO [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2023-06-06 20:45:14,692 INFO [io.quarkus] (Quarkus Main Thread) Installed features: [agroal, cdi, config-yaml, hibernate-orm, hibernate-orm-panache, jdbc-h2, narayana-jta, resteasy-jsonb, smallrye-context-propagation, vertx]
I don't have any errors, but it can't find Playlists/Songs
๐ค Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
yeah
what happened?
๐ค Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.