|Problems to build working war file [message #1800493]
||Sun, 30 December 2018 14:37
| Sebastian von Klinski
Registered: October 2012
Hi folks, |
I hope you had nice christmas holiday!
Due to the major changes in firefox we need to switch to the new version 3.7 of the rap runtime. So I installed eclipse 4.10, the RAP target and created the mail demo.
From the development environment everything works fine, of course. Unfortunately, I fail to create a working war file.
First I tried to use the WAR Product. But this is not running under Eclipse 4.10. The editor crashes when you open the .warproduct file. You just seed the tab, but no HMI-Form is created. I assume there are parsing problems.
The last working version of the warproduct editor runs under oxygen. But, RAP 3.7 would not run under oxygen.
Then I tried to switch to tycho to produce the war file. It worked so far. I used the following POM for the feature:
The war is generated and looks ok, if I compare it to existing and working war files.
But the dependency to javax.servlet ist not resolved. All bundes, that require javax.servlet are not startet with the message, that the requirement is not resolved (see shell output).
Can anybody tell me where the I can tell the web app to retrieve the javax.servlet from the tomcat? (I tried it with tomcat 7 and 8.5.) Do You see a major bug in my POM?
I assume, that some manifest is not generated appropriately. But I don't know where the mistake is. Or are some launch configurations missing?
Just to be complete: I also tried to add javax.servlet to the war file. This worked so far that all bundles startet. But the entry point would still not be opened.
Many thanks for your help in advance!
Powered by FUDForum
. Page generated in 0.01307 seconds