Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jnosql-dev] jnosql 0.0.9 and quarkus

Hi, thanks both for the answers

and yes, they (quarkus) already ask me to do a reproducer and to send to someone to see if this could be a bug or a limitation they already know

yep, I'm aware that hibernate/hibernate-panache is the default framework to use, but they only get active when you specify a JPA configuration (already tested, because I use it on three projects in my 5 days ex-job by now, jaja), and also know about their mongodb extension

I could not see any relation to those frameworks in the stacktrace, but who knows
As Otavio said, quarkus is not fully CDI and they have confirmed that... so, I hope they can solve it or better, add JNoSQL into their extensions



IcarusDB
"Soluciones Informáticas"
IcarusDB.com.py
http://www.linkedin.com/company/icarusdb

Roberto Gamarra
Developer/Programmer
write once... implement everywhere


On Tue, Nov 5, 2019 at 3:55 PM Werner Keil <werner.keil@xxxxxxx> wrote:

Roberto,

 

As Otavio already mentioned, please share as much as you can with the Quarkus Forum or issue Tracker, I am sure they can help you with the way e.g. CDI is configured in Quarkus among other things.

 

Also Keep an eye on possible Quarkus Extension modules that could interfere with certain JNoSQL Drivers because they aim at the same Systems like MongoDB, Neo4J, etc.:

https://github.com/quarkusio/quarkus/tree/master/extensions

of course the Quarkus ones in a vendor specific way ;-/

 

I certainly don't mean to lure you away from Quarkus if you want to use it, and not just evaluate, I also did not see yesterday's Devoxx 'battle' between the two because it was just too crowded (all sessions are on YouTube I heard, so check them out if you want) but I attended the Micronaut deep-dive workshop with its lead developer Graeme and he gave the impression, that Micronaut uses little or no reflection where other competing runtimes do.

 

I also spoke to him about Micronaut Data and he was happy to get in touch with some of us over possible use cases for Jakarta NoSQL there in a future version.

 

Regards,

Werner

 

From: Otavio Santana
Sent: Tuesday, November 5, 2019 19:31
To: jnosql developer discussions
Subject: Re: [jnosql-dev] jnosql 0.0.9 and quarkus

 

Hey Roberto, how are you?
As we discussed, JNoSQL requires any CDI implementation.
I'm not sure if there is a CDI implementation for Quarkus. Furthermore, JNoSQL uses a lot of reflection.
I guess, the best option is to share this error also with the Quarkus guys.

 

On Tue, Nov 5, 2019 at 1:25 PM IcarusDB [Roberto.Gamarra] <icarusdb@xxxxxxxxx> wrote:

hi all

 

I'm trying to run a basic example in quarkus 0.28.1, but I got this error on startup

 

C:\Users\rgamarra\git\siva>./mvnw compile quarkus:dev
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< io.ingenia.dinatran:siva >----------------------
[INFO] Building siva 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ siva ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ siva ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- quarkus-maven-plugin:0.28.1:dev (default-cli) @ siva ---
Listening for transport dt_socket at address: 5005
13:18:30,223 INFO  [io.qua.dep.QuarkusAugmentor] Beginning quarkus augmentation
13:18:30,448 INFO  [org.jbo.threads] JBoss Threads version 3.0.0.Final
13:18:30,837 ERROR [io.qua.dev.DevModeMain] Failed to start Quarkus: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 2 deployment problems:
[1] Unsatisfied dependency for type org.jnosql.artemis.reflection.ClassMappingExtension and qualifiers [@Default]
        - java member: org.jnosql.artemis.reflection.DefaultClassMappings#extension
        - declared on CLASS bean [types=[org.jnosql.artemis.reflection.DefaultClassMappings, org.jnosql.artemis.reflection.ClassMappings, java.lang.Object], qualifiers=[@Default, @Any], target=org.jnosql.artemis.reflection.DefaultClassMappings]
[2] Unsatisfied dependency for type org.jnosql.artemis.document.DocumentWorkflow and qualifiers [@Default]
        - java member: org.jnosql.artemis.document.DefaultDocumentTemplateProducer#workflow
        - declared on CLASS bean [types=[java.lang.Object, org.jnosql.artemis.document.DocumentTemplateProducer, org.jnosql.artemis.document.DefaultDocumentTemplateProducer], qualifiers=[@Default, @Any], target=org.jnosql.artemis.document.DefaultDocumentTemplateProducer]
        at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:858)
        at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:220)
        at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:106)
        at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.java:251)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$1.execute(ExtensionLoader.java:941)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:415)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2011)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1535)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1426)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:479)
        Suppressed: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.jnosql.artemis.reflection.ClassMappingExtension and qualifiers [@Default]
        - java member: org.jnosql.artemis.reflection.DefaultClassMappings#extension
        - declared on CLASS bean [types=[org.jnosql.artemis.reflection.DefaultClassMappings, org.jnosql.artemis.reflection.ClassMappings, java.lang.Object], qualifiers=[@Default, @Any], target=org.jnosql.artemis.reflection.DefaultClassMappings]
                at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:472)
                at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:404)
                at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:212)
                ... 14 more
        Suppressed: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.jnosql.artemis.document.DocumentWorkflow and qualifiers [@Default]
        - java member: org.jnosql.artemis.document.DefaultDocumentTemplateProducer#workflow
        - declared on CLASS bean [types=[java.lang.Object, org.jnosql.artemis.document.DocumentTemplateProducer, org.jnosql.artemis.document.DefaultDocumentTemplateProducer], qualifiers=[@Default, @Any], target=org.jnosql.artemis.document.DefaultDocumentTemplateProducer]
                at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:472)
                at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:404)
                at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:212)
                ... 14 more

        at io.quarkus.runner.RuntimeRunner.run(RuntimeRunner.java:157)
        at io.quarkus.dev.DevModeMain.doStart(DevModeMain.java:176)
        at io.quarkus.dev.DevModeMain.start(DevModeMain.java:94)
        at io.quarkus.dev.DevModeMain.main(DevModeMain.java:66)
Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 2 deployment problems:
[1] Unsatisfied dependency for type org.jnosql.artemis.reflection.ClassMappingExtension and qualifiers [@Default]
        - java member: org.jnosql.artemis.reflection.DefaultClassMappings#extension
        - declared on CLASS bean [types=[org.jnosql.artemis.reflection.DefaultClassMappings, org.jnosql.artemis.reflection.ClassMappings, java.lang.Object], qualifiers=[@Default, @Any], target=org.jnosql.artemis.reflection.DefaultClassMappings]
[2] Unsatisfied dependency for type org.jnosql.artemis.document.DocumentWorkflow and qualifiers [@Default]
        - java member: org.jnosql.artemis.document.DefaultDocumentTemplateProducer#workflow
        - declared on CLASS bean [types=[java.lang.Object, org.jnosql.artemis.document.DocumentTemplateProducer, org.jnosql.artemis.document.DefaultDocumentTemplateProducer], qualifiers=[@Default, @Any], target=org.jnosql.artemis.document.DefaultDocumentTemplateProducer]
        at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:858)
        at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:220)
        at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:106)
        at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.java:251)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$1.execute(ExtensionLoader.java:941)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:415)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2011)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1535)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1426)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:479)
        Suppressed: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.jnosql.artemis.reflection.ClassMappingExtension and qualifiers [@Default]
        - java member: org.jnosql.artemis.reflection.DefaultClassMappings#extension
        - declared on CLASS bean [types=[org.jnosql.artemis.reflection.DefaultClassMappings, org.jnosql.artemis.reflection.ClassMappings, java.lang.Object], qualifiers=[@Default, @Any], target=org.jnosql.artemis.reflection.DefaultClassMappings]
                at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:472)
                at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:404)
                at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:212)
                ... 14 more
        Suppressed: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.jnosql.artemis.document.DocumentWorkflow and qualifiers [@Default]
        - java member: org.jnosql.artemis.document.DefaultDocumentTemplateProducer#workflow
        - declared on CLASS bean [types=[java.lang.Object, org.jnosql.artemis.document.DocumentTemplateProducer, org.jnosql.artemis.document.DefaultDocumentTemplateProducer], qualifiers=[@Default, @Any], target=org.jnosql.artemis.document.DefaultDocumentTemplateProducer]
                at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:472)
                at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:404)
                at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:212)
                ... 14 more

        at io.quarkus.builder.Execution.run(Execution.java:108)
        at io.quarkus.builder.BuildExecutionBuilder.execute(BuildExecutionBuilder.java:121)
        at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:130)
        at io.quarkus.runner.RuntimeRunner.run(RuntimeRunner.java:111)
        ... 3 more
Caused by: javax.enterprise.inject.spi.DeploymentException: Found 2 deployment problems:
[1] Unsatisfied dependency for type org.jnosql.artemis.reflection.ClassMappingExtension and qualifiers [@Default]
        - java member: org.jnosql.artemis.reflection.DefaultClassMappings#extension
        - declared on CLASS bean [types=[org.jnosql.artemis.reflection.DefaultClassMappings, org.jnosql.artemis.reflection.ClassMappings, java.lang.Object], qualifiers=[@Default, @Any], target=org.jnosql.artemis.reflection.DefaultClassMappings]
[2] Unsatisfied dependency for type org.jnosql.artemis.document.DocumentWorkflow and qualifiers [@Default]
        - java member: org.jnosql.artemis.document.DefaultDocumentTemplateProducer#workflow
        - declared on CLASS bean [types=[java.lang.Object, org.jnosql.artemis.document.DocumentTemplateProducer, org.jnosql.artemis.document.DefaultDocumentTemplateProducer], qualifiers=[@Default, @Any], target=org.jnosql.artemis.document.DefaultDocumentTemplateProducer]
        at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:858)
        at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:220)
        at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:106)
        at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.java:251)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$1.execute(ExtensionLoader.java:941)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:415)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2011)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1535)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1426)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:479)
        Suppressed: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.jnosql.artemis.reflection.ClassMappingExtension and qualifiers [@Default]
        - java member: org.jnosql.artemis.reflection.DefaultClassMappings#extension
        - declared on CLASS bean [types=[org.jnosql.artemis.reflection.DefaultClassMappings, org.jnosql.artemis.reflection.ClassMappings, java.lang.Object], qualifiers=[@Default, @Any], target=org.jnosql.artemis.reflection.DefaultClassMappings]
                at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:472)
                at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:404)
                at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:212)
                ... 14 more
        Suppressed: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.jnosql.artemis.document.DocumentWorkflow and qualifiers [@Default]
        - java member: org.jnosql.artemis.document.DefaultDocumentTemplateProducer#workflow
        - declared on CLASS bean [types=[java.lang.Object, org.jnosql.artemis.document.DocumentTemplateProducer, org.jnosql.artemis.document.DefaultDocumentTemplateProducer], qualifiers=[@Default, @Any], target=org.jnosql.artemis.document.DefaultDocumentTemplateProducer]
                at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:472)
                at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:404)
                at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:212)
                ... 14 more

 

or should I ask this in quarkus forum ?

 


IcarusDB
"Soluciones Informáticas"
IcarusDB.com.py
http://www.linkedin.com/company/icarusdb

Roberto Gamarra
Developer/Programmer
write once... implement everywhere

_______________________________________________
jnosql-dev mailing list
jnosql-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jnosql-dev


 

--

Otávio Santana

 

 

_______________________________________________
jnosql-dev mailing list
jnosql-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jnosql-dev

Back to the top