felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniele Dellafiore <dani...@dellafiore.net>
Subject Re: A better life: quick webapp deploy
Date Mon, 25 Apr 2011 11:44:38 GMT
On Mon, Apr 25, 2011 at 11:56 AM, Daniele Dellafiore <daniele@dellafiore.net
> wrote:


> 10:27:07,797 | ERROR | Thread-35        | RegisterWebAppVisitorWC
> | internal.RegisterWebAppVisitorWC  254 | 62 -
> org.ops4j.pax.web.pax-web-extender-war - 1.0.1 | Registration exception.
> Skipping.
> java.lang.NoClassDefFoundError: org/apache/wicket/request/Request
>
> BTW, in the import-package of the bundle there is:
>
> org.apache.wicket.request,version=0.0.0 from org.apache.wicket.core (466)<http://46.137.107.103:8181/system/console/bundles/466>
>
>
I'm making other experiments.

First,

caused by: java.lang.ClassNotFoundException:
org.apache.wicket.request.Request not found by org.apache.wicket.core [466]

This is actually a mistake in wicket exports: that class should be exported
by wicket.request package, not wicket.core.
This is a problem I also have: the default behavior of maven-bundle-plugin
Export-Package seems to export all the packages that are imported.

This generate a lot of confusion, don't you think?
Anyway, there is some instruction I can give to Export-Package to avoid to
export the imported packages? I'm sure I've seen something but the docs is
too spars, can't find it now...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message