WAR not working if built with Tycho [message #1779926] |
Mon, 15 January 2018 14:42  |
Eclipse User |
|
|
|
Hi everybody,
I'm currently switching to Tycho as in this example and face a problem when deploying my generated war file.
I just get 404 Error when opening the url even though I use the correct url.
I got the exactly same start levels in my .product file like in my .launch file (except java.servlet ofc) but when launching the app from eclipse everything works fine.
The only difference is that I got my app itself included in the launch config as plugin and in start levels but I can't add it to the .product file cuz my maven build fails with this error:
[ERROR] Cannot resolve dependencies of product bitnet.product:
[ERROR] eclipse-plugin artifact with ID "BitNet" and version matching "0.0.0" was not found in the target platform
When removing my app from the launch options I also get 404 Error when launching from eclipse.
Here is the output from osgi ss command:
"Framework is launched."
id State Bundle
0 ACTIVE org.eclipse.osgi_3.12.50.v20170928-1321
Fragments=1
1 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.3.0
Master=0
2 ACTIVE Core_1.0.0.20180115-1859
3 ACTIVE com.ibm.icu.base_58.2.0.v20170418-1837
4 ACTIVE javax.xml_1.3.4.v201005080400
5 ACTIVE org.apache.commons.fileupload_1.3.2.v20170320-2229
6 ACTIVE org.apache.commons.io_2.2.0.v201405211200
7 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
8 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
9 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
10 ACTIVE org.apache.felix.scr_2.0.10.v20170501-2007
11 ACTIVE org.eclipse.core.commands_3.9.0.v20170530-1048
12 ACTIVE org.eclipse.core.contenttype_3.6.0.v20170207-1037
13 ACTIVE org.eclipse.core.databinding_1.6.100.v20170515-1119
14 ACTIVE org.eclipse.core.databinding.beans_1.4.0.v20170210-0856
15 ACTIVE org.eclipse.core.databinding.observable_1.6.100.v20170515-1119
16 ACTIVE org.eclipse.core.databinding.property_1.6.100.v20170515-1119
17 ACTIVE org.eclipse.core.expressions_3.6.0.v20170207-1037
18 ACTIVE org.eclipse.core.jobs_3.9.2.v20171030-1027
19 ACTIVE org.eclipse.core.runtime_3.13.0.v20170207-1030
20 ACTIVE org.eclipse.equinox.app_1.3.400.v20150715-1528
21 ACTIVE org.eclipse.equinox.cm_1.2.0.v20170105-1446
22 ACTIVE org.eclipse.equinox.common_3.9.0.v20170207-1454
23 ACTIVE org.eclipse.equinox.console_1.1.300.v20170512-2111
24 ACTIVE org.eclipse.equinox.event_1.4.0.v20170105-1446
25 ACTIVE org.eclipse.equinox.http.registry_1.1.400.v20150715-1528
26 ACTIVE org.eclipse.equinox.http.servlet_1.4.0.v20170524-1452
27 ACTIVE org.eclipse.equinox.http.servletbridge_1.0.300.v20130327-1442
28 RESOLVED org.eclipse.equinox.launcher_1.4.0.v20161219-1356
Fragments=29
29 RESOLVED org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.551.v20171108-1834
Master=28
30 ACTIVE org.eclipse.equinox.preferences_3.7.0.v20170126-2132
31 ACTIVE org.eclipse.equinox.registry_3.7.0.v20170222-1344
32 ACTIVE org.eclipse.equinox.servletbridge_1.3.200.v20160128-1435
33 ACTIVE org.eclipse.help_3.8.1.v20170815-1448
34 ACTIVE org.eclipse.jdt.junit.runtime_3.4.651.v20171130-0906
35 ACTIVE org.eclipse.osgi.services_3.6.0.v20170228-1906
36 ACTIVE org.eclipse.osgi.util_3.4.0.v20170111-1608
37 ACTIVE org.eclipse.rap.filedialog_3.4.0.20171017-0945
38 ACTIVE org.eclipse.rap.fileupload_3.4.0.20171017-0945
39 ACTIVE org.eclipse.rap.jface_3.4.0.20171018-1122
40 ACTIVE org.eclipse.rap.jface.databinding_3.4.0.20171017-0945
41 ACTIVE org.eclipse.rap.nebula.jface.gridviewer_3.4.0.20171017-0945
42 ACTIVE org.eclipse.rap.nebula.widgets.grid_3.4.0.20171020-1239
43 ACTIVE org.eclipse.rap.rwt_3.4.0.20171130-0837
44 ACTIVE org.eclipse.rap.rwt.osgi_3.4.0.20171017-0945
45 ACTIVE org.hamcrest.core_1.3.0.v201303031735
46 ACTIVE org.junit_4.12.0.v201504281640
Thanks for any hints!
Chris
[Updated on: Tue, 16 January 2018 17:33] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04037 seconds