dongsiji opened a new issue, #2104:
URL: https://github.com/apache/incubator-kie-issues/issues/2104

   I am trying to invoke a DMN diagram programatically in springboot instead of 
quarkus with kogito 10.0.0. I saw that there were some examples of that in 
`dmn-incubation-api-quarkus` but I tried to import the relevant packages into 
springboot but couldn't inject the `AppRoot` and `DecisionService` in 
springboot because I guess these aren't being instantiated. Am I missing some 
imports or are there other ways to invoke a DMN diagram programmatically? I 
have imported 
    the following in my pom.xml:
   
   ```
       <dependency>
         <artifactId>kogito-api-incubation-application</artifactId>
         <groupId>org.kie.kogito</groupId>
       </dependency>
       <dependency>
         <artifactId>kogito-api-incubation-decisions</artifactId>
         <groupId>org.kie.kogito</groupId>
       </dependency>
       <dependency>
         <artifactId>kogito-api-incubation-decisions-services</artifactId>
         <groupId>org.kie.kogito</groupId>
       </dependency>
   ```
   
   error logs:
   
   ```
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   Field appRoot in 
sg.gov.tech.prsWorkflowEngine.services.IntranetAnnotationService required a 
bean of type 'org.kie.kogito.incubation.application.AppRoot' that could not be 
found.
   
   
   Action:
   
   Consider defining a bean of type 
'org.kie.kogito.incubation.application.AppRoot' in your configuration.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to