This is an automated email from the ASF dual-hosted git repository.

radcortez pushed a commit to branch TOMEE-2408
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit 58674b8bbae159cc44b61645486240a01c405cf2
Author: Roberto Cortez <radcor...@yahoo.com>
AuthorDate: Fri Feb 1 01:24:59 2019 +0000

    TOMEE-2408 - Fixed issue with ClassNotFound due to web.xml change to 
metadata-complete. Tomcat performs scanning on classes to find webapp 
annotations and this happened before adding the TomEE lib jars into the 
classloader.
---
 tomee/tomee-webapp/src/main/assembly/war.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tomee/tomee-webapp/src/main/assembly/war.xml 
b/tomee/tomee-webapp/src/main/assembly/war.xml
index 077b584..a00d820 100644
--- a/tomee/tomee-webapp/src/main/assembly/war.xml
+++ b/tomee/tomee-webapp/src/main/assembly/war.xml
@@ -95,6 +95,13 @@
         <include>org.codehaus.swizzle:swizzle-stream</include>
       </includes>
     </dependencySet>
+    <dependencySet>
+      <outputDirectory>WEB-INF/lib</outputDirectory>
+      <scope>compile</scope>
+      <includes>
+        <include>org.apache.tomee:tomee-common</include>
+      </includes>
+    </dependencySet>
   </dependencySets>
 </assembly>
 

Reply via email to