Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Blocker
Description
The war target works ok, if you do not use any plugins that have java src code!
FAILS if you add e.g. ,org.apache.forrest.plugin.output.inputModule
to the project.required.plugins of a fresh seed and request http://127.0.0.1:8080/my-project/ you will see something like the following in webapps/my-project/WEB-INF/logs/core.log:
...
Caused by: java.lang.Exception: Cannot find class org.apache.forrest.generation.ModuleGenerator for component at file:/home/thorsten/opt/jakarta-tomcat-4.1.24-LE-jdk14/webapps/my-project/build/plugins/org.apache.forrest.plugin.output.inputModule/output.xmap:22:62
This is because the war target does not:
- create jar from the required plugins
- copy them to WEB-INF/lib where they need to be placed in the war.
FAILS if you add e.g. ,org.apache.forrest.plugin.output.inputModule
to the project.required.plugins of a fresh seed and request http://127.0.0.1:8080/my-project/ you will see something like the following in webapps/my-project/WEB-INF/logs/core.log:
...
Caused by: java.lang.Exception: Cannot find class org.apache.forrest.generation.ModuleGenerator for component at file:/home/thorsten/opt/jakarta-tomcat-4.1.24-LE-jdk14/webapps/my-project/build/plugins/org.apache.forrest.plugin.output.inputModule/output.xmap:22:62
This is because the war target does not:
- create jar from the required plugins
- copy them to WEB-INF/lib where they need to be placed in the war.