Absolutly no luck trying out RAP. [message #1042697] |
Tue, 16 April 2013 15:24  |
Eclipse User |
|
|
|
Hi,
I've tried several hours getting started with some RAP samples, however without any luck.
Here is what I did:
- Downloaded Juno SR2 "for RCP and RAP developers" (linux, x86)
- Installed target platform (tried both, latest as well as latest stable)
And then:
- New -> Plugin-Project -> Next -> Next -> "RAP Application with View":
-> Run as -> "RAP Application":
Problem accessing /rap. Reason:
ProxyServlet: /rap
Caused by: org.osgi.service.http.NamespaceException: The alias '/rwt-resources' is already in use.
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:164)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerResources(ProxyServlet.java:194)
at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerResources(HttpServiceImpl.java:78)
at org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.registerResourceDirectory(ApplicationReferenceImpl.java:190)
... 52 more
I sisn't get this "'/rwt-resources' is already in use." Excetion right from the beginning, in the first place it complained about some entry point not being found.
Any ideas whats going wrong here?
Thank you in advance, Clemens
|
|
|
Re: Absolutly no luck trying out RAP. [message #1042993 is a reply to message #1042697] |
Wed, 17 April 2013 02:08   |
Eclipse User |
|
|
|
Hi,
the Eclipse for RCP and RAP developers (Juno SR2) includes RAP Tools
v1.5, which are not compatible with RAP 2.0+. In order to get the RAP
2.0+ version to work you need RAP Tools v2.0. Get it from download page [1].
[1] http://www.eclipse.org/rap/downloads/
Best,
Ivan
On 4/16/2013 11:05 PM, Linuxhippy Mising name wrote:
> Hi,
> I've tried several hours getting started with some RAP samples,
> however without any luck.
>
> Here is what I did:
> - Downloaded Juno SR2 "for RCP and RAP developers" (linux, x86)
> - Installed target platform (tried both, latest as well as latest stable)
>
> And then:
> - New -> Plugin-Project -> Next -> Next -> "RAP Application with View":
> -> Run as -> "RAP Application":
>
> Problem accessing /rap. Reason:
> ProxyServlet: /rap
>
> Caused by: org.osgi.service.http.NamespaceException: The alias
> '/rwt-resources' is already in use.
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:164)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerResources(ProxyServlet.java:194)
> at
> org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerResources(HttpServiceImpl.java:78)
> at
> org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.registerResourceDirectory(ApplicationReferenceImpl.java:190)
> ... 52 more
>
>
> I sisn't get this "'/rwt-resources' is already in use." Excetion right
> from the beginning, in the first place it complained about some entry
> point not being found.
>
> Any ideas whats going wrong here?
>
> Thank you in advance, Clemens
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: Absolutly no luck trying out RAP. [message #1043221 is a reply to message #1042993] |
Wed, 17 April 2013 08:43  |
Eclipse User |
|
|
|
Hi Ivan,
Quote:
the Eclipse for RCP and RAP developers (Juno SR2) includes RAP Tools
v1.5, which are not compatible with RAP 2.0+. In order to get the RAP
2.0+ version to work you need RAP Tools v2.0. Get it from download page [1].
Thanks a lot - with the updated RAP-Tools version everything works as expected.
At a first glance, rap seems to be amazing =)
Thanks, Clemens
|
|
|
Powered by
FUDForum. Page generated in 0.03462 seconds