iskey opened a new issue, #41:
URL: https://github.com/apache/karaf-minho/issues/41

   It seems that the `JettyWebContainerService` should have a higher priority 
than `JerseyRestService`.
   
   ```
   2023-01-17 14:56:21 INFO   
org.apache.karaf.minho.boot.service.ServiceRegistry add Adding 
minho-rest-service service (1000)
   Exception in thread "main" java.lang.IllegalStateException: Can't register 
minho-rest-service
        at 
org.apache.karaf.minho.boot.service.ServiceRegistry.add(ServiceRegistry.java:88)
        at 
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at 
java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395)
        at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258)
        at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510)
        at 
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at 
java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
        at 
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
        at 
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at 
java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
        at org.apache.karaf.minho.boot.Minho.start(Minho.java:58)
        at org.apache.karaf.minho.boot.Main.main(Main.java:63)
   Caused by: java.lang.IllegalStateException: minho-http-service is not found 
in the service registry
        at 
org.apache.karaf.minho.rest.jersey.JerseyRestService.onRegister(JerseyRestService.java:52)
        at 
org.apache.karaf.minho.boot.service.ServiceRegistry.add(ServiceRegistry.java:86)
        ... 12 more
   
   ```


-- 
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: dev-unsubscr...@karaf.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to