|
|
|
|
Re: Problem war Deployment [message #105746 is a reply to message #105667] |
Fri, 19 September 2008 11:01 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi,
you WAR contains compile errors (see stack trace: Unresolved
compilation problem). You will probably find a zip archive somewhere
in your output folder. It contains log files with the compiler output.
Do you have javax.servlet in your workspace?
HTH
Rüdiger
he_re wrote:
> Hello,
>
> I have big a problem. I want to deploy my RAP application to a servlet
> container.
> I followed the manual in the Eclipse help. But it doesn't work and I
> don't now why, perhaps anybody can help me!?
>
> The logfile show me the following exception:
>
> !ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-09-19 11:21:43.022
> !MESSAGE !STACK 0
> org.osgi.framework.BundleException: The activator
> org.eclipse.equinox.http.servletbridge.internal.Activator for bundle
> org.eclipse.equinox.http.servletbridge is invalid
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:146)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
>
> Caused by: java.lang.Error: Unresolved compilation problem: The type
> javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
> referenced from required .class files
>
> at
> org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activator.java:25)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
>
> ... 10 more
> Root exception:
> java.lang.Error: Unresolved compilation problem: The type
> javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
> referenced from required .class files
>
> at
> org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activator.java:25)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
>
>
> !ENTRY org.eclipse.osgi 4 0 2008-09-19 11:21:43.152
> !MESSAGE Bundle
> initial@reference :file:plugins/org.eclipse.equinox.http.servletbridge_1.0.0.2 00809191059.jar/
> [11] is not active.
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04364 seconds