If a bundle require it: yes. It might be provided already by some felix
bundle but for tests you normaly have to provide it.
From the exception part you posted it either seems that pax-web is
importing it dynamically and not correctly handle the case where it is
not avaiable or does not import it at all and rely on some kind of
boot-classloading.
Am 16.03.2017 07:53, schrieb nino martinez wael:
Yeah but I am wondering if it's necessary to install the osgi dto
package into felix..
On Wed, Mar 15, 2017 at 2:07 PM, 'Christoph Läubrich' via OPS4J
<[email protected] <mailto:[email protected]>> wrote:
if org/osgi/dto is used it must be imported by the bundle, this
seems to be a problem of the Pax Web WhiteboardDtoService.
Am 15.03.2017 13:49, schrieb nino martinez wael:
Hi Again
I have almost everything working:
But the felix test are still failing, im not sure of the
org/osgi/dto/DTO should be provided from the standard felix
framework or it should be explicit importet?
org.ops4j.pax.web.pax-web-jetty-bundle[org.ops4j.pax.web.service.jetty.internal.JettyServerImpl]
: Pax Web available at [0.0.0.0]:[9081]
ERROR:
[org.ops4j.pax.web.service.internal.WhiteboardDtoService(0)]
Error during instantiation of the implementation object
java.lang.NoClassDefFoundError: org/osgi/dto/DTO
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.