May be you are using some resources in your application witch not are
included in the newer version,

2011/3/29 stream <stream1...@gmail.com>

> btw, it seems that the felix.shell have also the same problem.
> if i change the version of org.apache.felix.shell to 1.4.2 the freemake
> will happened the error...
>
>
> 在 2011-3-29,下午4:48, Mohamed SIDI 写道:
>
> > Hi,
> >
> > it seems to be a build problem, you can rebuild your application entirly,
> > another way, you should have the felix jar in your classpath
> >
> > B.W
> >
> > 2011/3/29 stream <stream1...@gmail.com>
> >
> >> Hi everyone
> >> i've tried use osgi for my structs app, but i wanna use the latest
> version
> >> of felix , so i used the version 3.0.9 instead of 1.4.1,but this could
> not
> >> work.
> >>
> >> Error starting handlers
> >> java.lang.NoClassDefFoundError: org/apache/felix/main/AutoActivator
> >>       at
> >> org.apache.struts2.osgi.FelixOsgiHost.startFelix(FelixOsgiHost.java:118)
> >>       at
> >> org.apache.struts2.osgi.FelixOsgiHost.init(FelixOsgiHost.java:426)
> >>       at
> >>
> org.apache.struts2.osgi.StrutsOsgiListener.contextInitialized(StrutsOsgiListener.java:21)
> >>       at
> >>
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
> >>       at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
> >>       at
> >>
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> >>       at
> >>
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> >>       at
> >> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> >>       at
> >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> >>       at
> >>
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> >>       at
> >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> >>       at
> >>
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> >>       at org.mortbay.jetty.Server.doStart(Server.java:222)
> >>       at
> >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> >>       at
> org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
> >> Caused by: java.lang.ClassNotFoundException:
> >> org.apache.felix.main.AutoActivator
> >>       at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> >>       at java.security.AccessController.doPrivileged(Native Method)
> >>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >>       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >>       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> >>       ... 15 more
> >>
> >> someone could know how to fix it  thanks,,,
> >
> >
> >
> >
> > --
> >
> >
> > Cordialement
> >
> > Mohamed
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 


Cordialement

Mohamed

Reply via email to