We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://stackoverflow.com/questions/52633597/micronaut-1-0-rc1-with-plain-hibernate-jpa-fails-at-startup/52637738#52637738
mn create-app test --features jdbc-hikari,hibernate-jpa
An exception is caused on startup because the same instance of SessionFactoryBuilder is injected in here
SessionFactoryBuilder
micronaut-core/configurations/hibernate-jpa/src/main/java/io/micronaut/configuration/hibernate/jpa/EntityManagerFactoryBean.java
Line 177 in 7dd14a2
The text was updated successfully, but these errors were encountered:
Fixed by dea0c7d
Sorry, something went wrong.
mn create-cli-app --build maven --test spock dectool
./mvnw clean compile package
Running the jar
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type [io.micronaut.jackson.convert.ArrayNodeToArrayConverter]
mn create-cli-app --build maven --test spock dectool ./mvnw clean compile package Running the jar io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type [io.micronaut.jackson.convert.ArrayNodeToArrayConverter]
This problem is solved, excluding the following dependencies from io.micronaut.configuration hibernate-jpa
<dependency> <groupId>io.micronaut.configuration</groupId> <artifactId>hibernate-jpa</artifactId> <version>1.0.0.RC2</version> <exclusions> <exclusion> <groupId>io.micronaut</groupId> <artifactId>runtime</artifactId> </exclusion> <exclusion> <groupId>io.micronaut</groupId> <artifactId>http</artifactId> </exclusion> </exclusions> <scope>compile</scope> </dependency>
jameskleeh
No branches or pull requests
https://stackoverflow.com/questions/52633597/micronaut-1-0-rc1-with-plain-hibernate-jpa-fails-at-startup/52637738#52637738
mn create-app test --features jdbc-hikari,hibernate-jpa
An exception is caused on startup because the same instance of
SessionFactoryBuilder
is injected in heremicronaut-core/configurations/hibernate-jpa/src/main/java/io/micronaut/configuration/hibernate/jpa/EntityManagerFactoryBean.java
Line 177 in 7dd14a2
The text was updated successfully, but these errors were encountered: