myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch master updated: fix demo: ClassNotFoundException for java11 + myfaces-2.3
Date Wed, 18 Mar 2020 14:26:34 GMT
This is an automated email from the ASF dual-hosted git repository.

hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c496ae  fix demo: ClassNotFoundException for java11 + myfaces-2.3
9c496ae is described below

commit 9c496ae5743f87668cb2b3c523792f489df948f1
Author: Henning Nöth <hnoeth@apache.org>
AuthorDate: Wed Mar 18 11:56:45 2020 +0100

    fix demo: ClassNotFoundException for java11 + myfaces-2.3
    
    * dependency added to fix ClassNotFoundException: javax.xml.bind.DatatypeConverter
    
    This fix:
    * websocket example
    * init.xhtml: redirect to content/10-intro/Intro.xhtml
    
    tested with Jetty
---
 tobago-example/pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tobago-example/pom.xml b/tobago-example/pom.xml
index fd58a33..9ab5d55 100644
--- a/tobago-example/pom.xml
+++ b/tobago-example/pom.xml
@@ -92,6 +92,13 @@
              -->
             <scanIntervalSeconds>5</scanIntervalSeconds>
           </configuration>
+          <dependencies>
+            <dependency> <!-- add JAXB to run the demo with Java 11 and higher -->
+              <groupId>javax.xml.bind</groupId>
+              <artifactId>jaxb-api</artifactId>
+              <version>2.3.1</version>
+            </dependency>
+          </dependencies>
         </plugin>
       </plugins>
     </pluginManagement>


Mime
View raw message