WildFily - unterschiedliche Libs im Projekt verursachen Problem

internet

Top Contributor
Ich habe ein Problem mit unterschiedlichen .jar Dateien in meinem Projekt....

Ich erhalte diese Fehlermeldung:
Java:
class org.jboss.resteasy.client.jaxrs.internal.ResteasyClientBuilderImpl cannot be cast to class jakarta.ws.rs.client.ClientBuilder

Ich verwende WildFly 26 und hier bekomme ich wohl diese die Klasse direkt mitgeliefert?

Das Problem entsteht durch diese Libs:
<!-- Keycloak -->
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-core</artifactId>
<version>23.0.1</version>
</dependency>

<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-client</artifactId>
<version>23.0.1</version>
</dependency>

Diese haben eine Abhängigkeit zu u.a.: resteasy-client

Ich habe versucht diese auszuschließen, aber das funktioniert auch nicht..
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>3.15.2.Final</version>
<scope>provided</scope>
<exclusions>
<!-- Exclude Resteasy Client -->
<exclusion>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
</exclusion>
</exclusions>
</dependency>

Wie kann ich das lösen?
 

KonradN

Super-Moderator
Mitarbeiter
Von mir nur einmal paar allgemeine Anmerkungen

a) Deine gezeigte Dependency macht so keinen Sinn. Die Exclusions dienen dazu, dass transiente Abhängigkeiten nicht mit kommen. Also bildlich: Du willst ein Auto, aber du willst irgend etwas nicht, das im Kofferraum ist. Aber Du sagst: Du willst die Dependency, aber dann willst Du doch nicht die Dependency? Du kaufst ein Auto aber willst das Auto nicht? Wenn Du das Auto nicht willst, dann kauf es gar nicht erst, d.h. dann nimm die ganze Dependency raus!

b) Wildfly 26 ist alt. Du baust doch eine neue, moderne Software? Warum nicht Wildfly 31 oder 30? Beide nutzen/unterstützen den aktuellen Standard Jakarta EE 10. Und sie unterstützen auch das neue Java 21 und und und ...

Das wären so die Dinge, die mir so direkt einfallen und die ich zuerst evaluieren würde.
 

internet

Top Contributor
Ja, es macht durchaus Sinn auf die neuste WildFly Version umzuziehen...
Ich habe es gerade mal versucht auf WildFly 31 umzuziehen....

Nun bekomme ich aber einige Fehler, die so mit WildFly 26 liefen:

Java:
2024-02-20 16:42:55,344 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class net.bull.javamelody.PrometheusCounterRequestTag in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link net/bull/javamelody/PrometheusCounterRequestTag (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/jsp/tagext/TagSupport

2024-02-20 16:42:55,353 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.omnifaces.cdi.viewscope.ViewScopeEventListener in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/omnifaces/cdi/viewscope/ViewScopeEventListener (Module "deployment.myapp.war" from Service Module Loader): javax/faces/event/ViewMapListener

2024-02-20 16:42:55,360 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.omnifaces.filter.HttpFilter in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/omnifaces/filter/HttpFilter (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/Filter

2024-02-20 16:42:55,362 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.omnifaces.filter.CacheControlFilter in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/omnifaces/filter/CacheControlFilter (Module "deployment.myapp.war" from Service Module Loader): Failed to link org/omnifaces/filter/HttpFilter (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/Filter

2024-02-20 16:42:55,366 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.omnifaces.viewhandler.OmniViewHandler in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/omnifaces/viewhandler/OmniViewHandler (Module "deployment.myapp.war" from Service Module Loader): javax/faces/application/ViewHandlerWrapper

2024-02-20 16:42:55,369 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.apache.shiro.web.env.EnvironmentLoaderListener in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/apache/shiro/web/env/EnvironmentLoaderListener (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/ServletContextListener

2024-02-20 16:42:55,376 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.omnifaces.application.OmniApplicationFactory in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/omnifaces/application/OmniApplicationFactory (Module "deployment.myapp.war" from Service Module Loader): javax/faces/application/ApplicationFactory

2024-02-20 16:42:55,380 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.apache.shiro.web.tags.SecureTag in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/apache/shiro/web/tags/SecureTag (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/jsp/tagext/TagSupport

2024-02-20 16:42:55,389 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.apache.shiro.web.tags.RoleTag in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/apache/shiro/web/tags/RoleTag (Module "deployment.myapp.war" from Service Module Loader): Failed to link org/apache/shiro/web/tags/SecureTag (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/jsp/tagext/TagSupport

2024-02-20 16:42:55,391 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.apache.shiro.web.tags.LacksRoleTag in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/apache/shiro/web/tags/LacksRoleTag (Module "deployment.myapp.war" from Service Module Loader): Failed to link org/apache/shiro/web/tags/RoleTag (Module "deployment.myapp.war" from Service Module Loader): Failed to link org/apache/shiro/web/tags/SecureTag (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/jsp/tagext/TagSupport

2024-02-20 16:42:55,395 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.primefaces.webapp.UploadedFileCleanerListener in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/primefaces/webapp/UploadedFileCleanerListener (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/ServletRequestListener

2024-02-20 16:42:55,398 WARN  [org.jboss.modules.define] (MSC service thread 1-5) Failed to define class org.chartistjsf.application.ChartistJSFApplicationFactory in Module "deployment.myapp.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link org/chartistjsf/application/ChartistJSFApplicationFactory (Module "deployment.myapp.war" from Service Module Loader): javax/faces/application/ApplicationFactory

Hier mal ein paar Dependencies in der pom.xml, die u.a. Fehler werfen...

<dependency>
<groupId>org.omnifaces</groupId>
<artifactId>omnifaces</artifactId>
<version>3.14.1</version>
</dependency>

<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>13.0.6</version>
</dependency>

Was kann hier das Problem sein?
 

Oneixee5

Top Contributor
Nun bekomme ich aber einige Fehler, die so mit WildFly 26 liefen:
Ich sehe nur Warnungen!?

Bei "meinen" Oracle-Servern habe ich so etwas ähnliches. Vermutlich hängt das auch bei dir mit dem ClassLoader und Modulen zusammen. Das sind normalerweise zusätzliche Abhängigkeiten, welche in Produktionsumgebungen nicht vorhanden sind. Stelle einfach das Log-Level auf ERROR.
 
Zuletzt bearbeitet:

internet

Top Contributor
weiter unten auch Fehler...
Aber kann es nicht sein, dass ich alles auf jakarta migrieren muss?

Das sieht ja nicht gesund aus, wenn Klassen nicht mehr gefunden werden...
Java:
Caused by: java.lang.NoClassDefFoundError: Failed to link io/swagger/v3/jaxrs2/integration/OpenApiServlet (Module "deployment.myapp.war" from Service Module Loader): javax/servlet/http/HttpServlet
 

Oneixee5

Top Contributor
Seit Version 2.1.7 unterstützt Swagger Core auch den Jakarta-Namespace.
Es gibt parallel Artefakte mit dem Suffix -jakarta, die dieselbe Funktion bieten wie die Artefakte ohne Suffix (d.h.: javax).
 

KonradN

Super-Moderator
Mitarbeiter
Aber kann es nicht sein, dass ich alles auf jakarta migrieren muss?
Aber das ist doch auch der Unterschied von Java EE 8 auf Jakarta EE 9. Und Du willst doch die Anwendung nach aktuellen Standards aufbauen.

Und wenn Du sogar Swagger verwendest: Dann hast Du eine API Beschereibung nach Open API und musst doch nur die entsprechenden Klassen neu generieren, oder was hast Du jetzt mit Swagger gemacht?
 

internet

Top Contributor
ok, ich habe jetzt mal die Steps durchgeführt - bzw. es gibt auch ein gutes Programm:

Ich bekomme allerdings nun noch einen Compiler Fehler in der IDE:
Java:
The type jakarta.enterprise.inject.spi.Bean cannot be resolved. It is indirectly referenced from required type org.omnifaces.util.Beans

Die nächste Frage ist, welche JRE brauche ich denn nun?

Ich verwende in meinem Projekt diese, damit das Ganze mit Hotswapagent funktioniert

1708453367648.png
 

internet

Top Contributor
Ok, es kommen immer noch zig Warnungen / Errors beim Hochfahren von WlU.a. immer noch:
Java:
Caused by: java.lang.NoClassDefFoundError: Failed to link io/swagger/v3/jaxrs2/integration/OpenApiServlet

Anbei mal meine pom.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>com.myapp</groupId>

    <artifactId>myapp</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>war</packaging>
    <name>My App</name>
    <description>My App</description>

    <!-- <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <java.version>1.8</java.version>
    <maven.compiler.target>${java.version}</maven.compiler.target>
        <maven.compiler.source>${java.version}</maven.compiler.source> </properties> -->


    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <project.build.directory>/Applications/Software</project.build.directory>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
        <failOnMissingWebXml>false</failOnMissingWebXml>
        <resteasy.version>4.5.8.Final</resteasy.version>
        <wildfly-arquillian.version>3.0.1.Final</wildfly-arquillian.version>
        <maven-dependency-plugin.version>3.1.2</maven-dependency-plugin.version>
        <maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version>
        <wildfly.version>21.0.0.Final</wildfly.version>
        <m2e.apt.activation>jdt_apt</m2e.apt.activation>
        <org.mapstruct.version>1.4.2.Final</org.mapstruct.version>

        <pac4jVersion>5.7.2</pac4jVersion>
        <bujiVersion>8.1.0</bujiVersion>
        <jeePac4jVersion>7.1.0</jeePac4jVersion>

        <version.org.hibernate>5.3.24.Final</version.org.hibernate>
    </properties>


    <repositories>

        <repository>
            <id>central</id>
            <name>Maven Central</name>
            <url>https://repo1.maven.org/maven2</url>
        </repository>

        <repository>
            <id>oss.sonatype.org-snapshot</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>

    </repositories>


    <dependencyManagement>
        <dependencies>

            <dependency>
                <groupId>org.jboss.arquillian</groupId>
                <artifactId>arquillian-bom</artifactId>
                <version>1.6.0.Final</version>
                <scope>import</scope>
                <type>pom</type>
            </dependency>

            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.12</version>
                <scope>test</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>


    <dependencies>

        <dependency>
            <groupId>jakarta.platform</groupId>
            <artifactId>jakarta.jakartaee-api</artifactId>
            <version>10.0.0</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jaxrs</artifactId>
            <version>3.15.2.Final</version>
            <scope>provided</scope>
            <exclusions>
                <!-- Exclude Resteasy Client -->
                <exclusion>
                    <groupId>org.jboss.resteasy</groupId>
                    <artifactId>resteasy-jaxrs</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!--
        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jaxrs</artifactId>
            <version>3.15.2.Final</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-multipart-provider</artifactId>
            <version>4.7.2.Final</version>
            <scope>provided</scope>
        </dependency>
-->

        <dependency>
            <groupId>org.jboss.arquillian.junit</groupId>
            <artifactId>arquillian-junit-container</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </dependency>


        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.6</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.webjars/font-awesome -->
        <dependency>
            <groupId>org.webjars</groupId>
            <artifactId>font-awesome</artifactId>
            <version>4.7.0</version>
        </dependency>


        <dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>13.0.6</version>
            <classifier>jakarta</classifier>
        </dependency>


        <dependency>
            <groupId>org.primefaces.extensions</groupId>
            <artifactId>primefaces-extensions</artifactId>
            <version>13.0.6</version>
            <classifier>jakarta</classifier>
        </dependency>

        <dependency>
            <groupId>org.primefaces.extensions</groupId>
            <artifactId>resources-ckeditor</artifactId>
            <version>12.0.4</version>
        </dependency>

        <dependency>
            <groupId>org.primefaces.extensions</groupId>
            <artifactId>resources-monacoeditor</artifactId>
            <version>13.0.2</version>
        </dependency>


        <dependency>
            <groupId>org.primefaces.extensions</groupId>
            <artifactId>resources-codemirror</artifactId>
            <version>6.1.1</version>
        </dependency>

        <!-- Cache PRIMEFACES -->
        <dependency>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache</artifactId>
            <version>2.10.6</version>
        </dependency>


        <!-- Security für Primefaces Editor -->
        <dependency>
            <groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
            <artifactId>owasp-java-html-sanitizer</artifactId>
            <version>20200615.1</version>
        </dependency>


        <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.1.7</version>
        </dependency>

        <dependency>
            <groupId>org.omnifaces</groupId>
            <artifactId>omnifaces</artifactId>
            <version>4.3</version>
        </dependency>


        <dependency>
            <groupId>org.webjars</groupId>
            <artifactId>bootstrap-glyphicons</artifactId>
            <version>bdd2cbfba0</version>
        </dependency>


        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.6</version>
        </dependency>

        <dependency>
            <groupId>commons-fileupload</groupId>
            <artifactId>commons-fileupload</artifactId>
            <version>1.4</version>
        </dependency>


        <!-- Shiro Start -->
        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-core</artifactId>
            <version>1.13.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-web</artifactId>
            <version>1.13.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-aspectj</artifactId>
            <version>1.13.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-ehcache</artifactId>
            <version>1.13.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-quartz</artifactId>
            <version>1.13.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.shiro</groupId>
            <artifactId>shiro-lang</artifactId>
            <version>1.13.0</version>
        </dependency>


        <!-- MY SQL -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>8.0.12</version>
        </dependency>

        <dependency>
            <groupId>com.jolbox</groupId>
            <artifactId>bonecp</artifactId>
            <version>0.7.1.RELEASE</version>
            <scope>runtime</scope>
        </dependency>
        <!-- Shiro End -->


        <dependency>
            <groupId>org.ocpsoft.rewrite</groupId>
            <artifactId>rewrite-servlet</artifactId>
            <version>3.5.1.Final</version>
        </dependency>
        <dependency>
            <groupId>org.ocpsoft.rewrite</groupId>
            <artifactId>rewrite-config-prettyfaces</artifactId>
            <version>3.5.1.Final</version>
        </dependency>

        <dependency>
            <groupId>org.ocpsoft.rewrite</groupId>
            <artifactId>rewrite-integration-cdi</artifactId>
            <version>3.5.1.Final</version>
        </dependency>


        <!-- PAYPAL -->
        <dependency>
            <groupId>com.paypal.sdk</groupId>
            <artifactId>rest-api-sdk</artifactId>
            <version>1.14.0</version>
        </dependency>


        <dependency>
            <groupId>com.paypal.sdk</groupId>
            <artifactId>paypal-core</artifactId>
            <version>1.7.2</version>
        </dependency>


        <!-- STRIPE -->
        <dependency>
            <groupId>com.stripe</groupId>
            <artifactId>stripe-java</artifactId>
            <version>20.86.1</version>
        </dependency>


        <!-- HIBERNATE LIBS -->
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>${version.org.hibernate}</version>
            <scope>provided</scope>
        </dependency>


        <!-- for JPA, use hibernate-entitymanager instead of hibernate-core -->
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
            <version>${version.org.hibernate}</version>
            <scope>provided</scope>
        </dependency>


        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-ehcache</artifactId>
            <version>${version.org.hibernate}</version>
            <scope>provided</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-java8 -->
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-java8</artifactId>
            <version>${version.org.hibernate}</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-envers -->
        <dependency>
            <groupId>org.hibernate.orm</groupId>
            <artifactId>hibernate-envers</artifactId>
            <version>6.0.0.Alpha3</version>
        </dependency>


        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>27.1-jre</version>
        </dependency>

        <dependency>
            <groupId>org.json</groupId>
            <artifactId>json</artifactId>
            <version>20140107</version>
        </dependency>

        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
            <version>4.1.2</version>
        </dependency>


        <!-- Barcode -->
        <dependency>
            <groupId>io.nayuki</groupId>
            <artifactId>qrcodegen</artifactId>
            <version>1.7.0</version>
        </dependency>

        <dependency>
            <groupId>net.glxn</groupId>
            <artifactId>qrgen</artifactId>
            <version>1.4</version>
        </dependency>


        <dependency>
            <groupId>net.sf.barcode4j</groupId>
            <artifactId>barcode4j</artifactId>
            <version>2.1</version>
        </dependency>


        <dependency>
            <groupId>org.xhtmlrenderer</groupId>
            <artifactId>flying-saucer-pdf</artifactId>
            <version>9.1.22</version>
        </dependency>


        <dependency>
            <groupId>com.openhtmltopdf</groupId>
            <artifactId>openhtmltopdf-core</artifactId>
            <version>1.0.10</version>
        </dependency>

        <dependency>
            <groupId>com.openhtmltopdf</groupId>
            <artifactId>openhtmltopdf-pdfbox</artifactId>
            <version>1.0.10</version>
        </dependency>

        <dependency>
            <!-- Objects support plugin. -->
            <groupId>com.openhtmltopdf</groupId>
            <artifactId>openhtmltopdf-objects</artifactId>
            <version>1.0.10</version>
        </dependency>


        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.10</version>
        </dependency>

        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.2.1</version>
        </dependency>

        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.2</version>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/commons-validator/commons-validator -->
        <dependency>
            <groupId>commons-validator</groupId>
            <artifactId>commons-validator</artifactId>
            <version>1.7</version>
        </dependency>


        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpmime</artifactId>
            <version>4.3.6</version>
        </dependency>


        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-websocket</artifactId>
            <version>8.1.16.v20140903</version>
        </dependency>


        <dependency>
            <groupId>org.ocpsoft.prettytime</groupId>
            <artifactId>prettytime</artifactId>
            <version>4.0.6.Final</version>
        </dependency>

        <dependency>
            <groupId>org.ocpsoft.prettytime</groupId>
            <artifactId>prettytime-integration-jsf</artifactId>
            <version>4.0.6.Final</version>
        </dependency>


        <dependency>
            <groupId>net.coobird</groupId>
            <artifactId>thumbnailator</artifactId>
            <version>0.4.19</version>
        </dependency>

        <dependency>
            <groupId>com.github.xuwei-k</groupId>
            <artifactId>html2image</artifactId>
            <version>0.1.0</version>
        </dependency>


        <dependency>
            <groupId>commons-net</groupId>
            <artifactId>commons-net</artifactId>
            <version>3.3</version>
        </dependency>


        <dependency>
            <groupId>org.chartistjsf</groupId>
            <artifactId>ChartistJSF</artifactId>
            <version>3.0</version>
        </dependency>


        <!-- https://mvnrepository.com/artifact/org.tripfaces/components
        <dependency>
            <groupId>org.tripfaces</groupId> <artifactId>components</artifactId>
        <version>1.0.0</version>
            </dependency> -->


        <dependency>
            <groupId>io.lamma</groupId>
            <artifactId>lamma_2.12</artifactId>
            <version>2.3.1</version>
        </dependency>


        <!-- https://mvnrepository.com/artifact/org.mnode.ical4j/ical4j -->
        <dependency>
            <groupId>org.mnode.ical4j</groupId>
            <artifactId>ical4j</artifactId>
            <version>3.2.14</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/javax.cache/cache-api -->
        <dependency>
            <groupId>javax.cache</groupId>
            <artifactId>cache-api</artifactId>
            <version>1.1.0</version>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 -->
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-collections4</artifactId>
            <version>4.2</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
        <dependency>
            <groupId>org.jsoup</groupId>
            <artifactId>jsoup</artifactId>
            <version>1.13.1</version>
        </dependency>


        <!-- https://mvnrepository.com/artifact/net.sf.jtidy/jtidy -->
        <dependency>
            <groupId>net.sf.jtidy</groupId>
            <artifactId>jtidy</artifactId>
            <version>r938</version>
        </dependency>


        <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox -->
        <dependency>
            <groupId>org.apache.pdfbox</groupId>
            <artifactId>pdfbox</artifactId>
            <version>2.0.21</version>
        </dependency>


        <!-- BILLWERK API (START) -->
        <!-- <dependency> <groupId>io.swagger</groupId>
        <artifactId>swagger-annotations</artifactId>
            <version>1.5.15</version> </dependency> -->


        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.8.6</version>
        </dependency>


        <!-- BILLWERK API (END) -->

        <!-- ZENDESK API (START) -->
        <dependency>
            <groupId>com.damnhandy</groupId>
            <artifactId>handy-uri-templates</artifactId>
            <version>2.1.6</version>
        </dependency>

        <dependency>
            <groupId>org.asynchttpclient</groupId>
            <artifactId>async-http-client</artifactId>
            <version>2.3.0</version>
        </dependency>
        <!-- ZENDESK API (END) -->


        <!-- ORC TESS4J (START) -->
        <dependency>
            <groupId>net.sourceforge.tess4j</groupId>
            <artifactId>tess4j</artifactId>
            <version>4.3.0</version>
        </dependency>
        <!-- ORC TESS4J (START) -->


        <!-- https://mvnrepository.com/artifact/me.atlis/atlis-location-base -->
        <dependency>
            <groupId>me.atlis</groupId>
            <artifactId>atlis-location-base</artifactId>
            <version>1.0.0</version>
        </dependency>


        <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-csv -->
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-csv</artifactId>
            <version>1.6</version>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/net.sourceforge.cssparser/cssparser -->
        <dependency>
            <groupId>net.sourceforge.cssparser</groupId>
            <artifactId>cssparser</artifactId>
            <version>0.9.27</version>
        </dependency>


        <dependency>
            <groupId>ch.digitalfondue.vatchecker</groupId>
            <artifactId>vatchecker</artifactId>
            <version>1.5.0</version>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/com.dropbox.core/dropbox-core-sdk -->
        <dependency>
            <groupId>com.dropbox.core</groupId>
            <artifactId>dropbox-core-sdk</artifactId>
            <version>3.1.1</version>
        </dependency>

        <dependency>
            <groupId>eu.bitwalker</groupId>
            <artifactId>UserAgentUtils</artifactId>
            <version>1.21</version>
        </dependency>

        <dependency>
            <groupId>org.reflections</groupId>
            <artifactId>reflections</artifactId>
            <version>0.9.12</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>3.6.0</version>
            <scope>test</scope>
        </dependency>


        <dependency>
            <groupId>io.swagger.core.v3</groupId>
            <artifactId>swagger-annotations-jakarta</artifactId>
            <version>2.2.20</version>
        </dependency>

        <dependency>
            <groupId>io.swagger.core.v3</groupId>
            <artifactId>swagger-jaxrs2-jakarta</artifactId>
            <version>2.2.20</version>
        </dependency>

        <dependency>
            <groupId>io.swagger.core.v3</groupId>
            <artifactId>myapp-jakarta</artifactId>
            <version>2.2.20</version>
        </dependency>

        <dependency>
            <groupId>jakarta.ejb</groupId>
            <artifactId>jakarta.ejb-api</artifactId>
            <version>4.0.1</version>
        </dependency>

        <dependency>
            <groupId>jakarta.faces</groupId>
            <artifactId>jakarta.faces-api</artifactId>
            <version>4.0.1</version>
        </dependency>

        <dependency>
            <groupId>jakarta.inject</groupId>
            <artifactId>jakarta.inject-api</artifactId>
            <version>2.0.1.MR</version>
        </dependency>

        <dependency>
            <groupId>jakarta.persistence</groupId>
            <artifactId>jakarta.persistence-api</artifactId>
            <version>3.1.0</version>
        </dependency>

        <dependency>
            <groupId>jakarta.servlet</groupId>
            <artifactId>jakarta.servlet-api</artifactId>
            <version>6.0.0</version>
        </dependency>


        <dependency>
            <groupId>org.mapstruct</groupId>
            <artifactId>mapstruct</artifactId>
            <version>${org.mapstruct.version}</version>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-modules-java8 -->
        <dependency>
            <groupId>com.fasterxml.jackson.module</groupId>
            <artifactId>jackson-modules-java8</artifactId>
            <version>2.12.3</version>
            <type>pom</type>
            <scope>runtime</scope>
        </dependency>


        <!-- https://mvnrepository.com/artifact/com.github.jsqlparser/jsqlparser -->
        <dependency>
            <groupId>com.github.jsqlparser</groupId>
            <artifactId>jsqlparser</artifactId>
            <version>4.1</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/com.udojava/EvalEx -->
        <dependency>
            <groupId>com.udojava</groupId>
            <artifactId>EvalEx</artifactId>
            <version>2.6</version>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/net.sourceforge.htmlunit/htmlunit -->
        <dependency>
            <groupId>net.sourceforge.htmlunit</groupId>
            <artifactId>htmlunit</artifactId>
            <version>2.52.0</version>
            <exclusions>
                <exclusion>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.5.13</version>
        </dependency>


        <!--
        https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore</artifactId>
            <version>4.4.14</version>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient-cache -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient-cache</artifactId>
            <version>4.5.13</version>
        </dependency>

        <dependency>
            <groupId>com.sksamuel.diff</groupId>
            <artifactId>diff</artifactId>
            <version>1.1.11</version>
        </dependency>

        <!--
        https://mvnrepository.com/artifact/net.bull.javamelody/javamelody-core -->
        <dependency>
            <groupId>net.bull.javamelody</groupId>
            <artifactId>javamelody-core</artifactId>
            <version>1.90.0</version>
        </dependency>


        <!-- 2FA Authentifierung
        https://medium.com/@ihorsokolyk/two-factor-authentication-with-java-and-google-authenticator-9d7ea15ffee6
            ! -->
        <dependency>
            <groupId>de.taimos</groupId>
            <artifactId>totp</artifactId>
            <version>1.0</version>
        </dependency>

        <dependency>
            <groupId>com.google.zxing</groupId>
            <artifactId>javase</artifactId>
            <version>3.2.1</version>
        </dependency>

        <!-- JBoss Transaction Timeout Annotation -->
        <dependency>
            <groupId>org.jboss.ejb3</groupId>
            <artifactId>jboss-ejb3-ext-api</artifactId>
            <version>2.2.0.Final</version>
            <scope>provided</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.quartz-scheduler/quartz -->
        <dependency>
            <groupId>org.quartz-scheduler</groupId>
            <artifactId>quartz</artifactId>
            <version>2.3.2</version>
        </dependency>

        <dependency>
            <groupId>com.myapp</groupId>
            <artifactId>myappShareStuff</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>


        <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
            <version>3.22.2</version>
        </dependency>

        <!-- PAC4J -->

        <dependency>
            <groupId>io.buji</groupId>
            <artifactId>buji-pac4j</artifactId>
            <version>${bujiVersion}</version>
        </dependency>


        <dependency>
            <groupId>org.pac4j</groupId>
            <artifactId>javaee-pac4j</artifactId>
            <version>${jeePac4jVersion}</version>
        </dependency>

        <dependency>
            <groupId>org.pac4j</groupId>
            <artifactId>pac4j-core</artifactId>
            <version>${pac4jVersion}</version>
        </dependency>

        <dependency>
            <groupId>org.pac4j</groupId>
            <artifactId>pac4j-cas</artifactId>
            <version>${pac4jVersion}</version>
        </dependency>

        <dependency>
            <groupId>org.pac4j</groupId>
            <artifactId>pac4j-saml</artifactId>
            <version>${pac4jVersion}</version>
        </dependency>

        <dependency>
            <groupId>org.pac4j</groupId>
            <artifactId>pac4j-oidc</artifactId>
            <version>${pac4jVersion}</version>
        </dependency>

        <dependency>
            <groupId>org.pac4j</groupId>
            <artifactId>pac4j-http</artifactId>
            <version>${pac4jVersion}</version>
        </dependency>

        <!-- Chargeebee -->
        <dependency>
            <groupId>com.chargebee</groupId>
            <artifactId>chargebee-java</artifactId>
            <version>3.11.0</version>
        </dependency>

        <dependency>
            <groupId>com.google.api-client</groupId>
            <artifactId>google-api-client</artifactId>
            <version>2.0.0</version>
        </dependency>

        <dependency>
            <groupId>com.google.oauth-client</groupId>
            <artifactId>google-oauth-client-servlet</artifactId>
            <version>1.34.1</version>
        </dependency>

        <dependency>
            <groupId>com.google.apis</groupId>
            <artifactId>google-api-services-calendar</artifactId>
            <version>v3-rev224-1.22.0</version>
        </dependency>

    </dependencies>


    <build>
        <finalName>${project.artifactId}</finalName>
        <plugins>

            <plugin>
                <groupId>org.wildfly.plugins</groupId>
                <artifactId>wildfly-maven-plugin</artifactId>
                <version>1.0.1.Final</version>
            </plugin>

            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <version>3.2.2</version>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <annotationProcessorPaths>
                        <path>
                            <groupId>org.mapstruct</groupId>
                            <artifactId>mapstruct-processor</artifactId>
                            <version>${org.mapstruct.version}</version>
                        </path>
                    </annotationProcessorPaths>
                    <webResources>
                        <resource>
                            <directory>${basedir}/src/main/webapp</directory>
                            <filtering>true</filtering>
                            <includes>
                                <include>*.css</include>
                                <include>*.html</include>
                            </includes>
                        </resource>
                    </webResources>
                </configuration>
            </plugin>


        </plugins>
    </build>


    <profiles>

        <!-- TESTING managed <profile> <id>arq-wildfly-managed</id> <properties>
            <skipTests>false</skipTests> <serverProfile>standalone-full.xml</serverProfile>
            <serverRoot>${project.build.directory}/wildfly-${wildfly.version}</serverRoot>
            </properties> <dependencies> <dependency> <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-client</artifactId> <version>${resteasy.version}</version>
            <scope>test</scope> </dependency> <dependency>
        <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jackson2-provider</artifactId>
        <version>${resteasy.version}</version>
            <scope>test</scope> </dependency> <dependency>
        <groupId>org.wildfly.arquillian</groupId>
            <artifactId>wildfly-arquillian-container-managed</artifactId>
        <version>${wildfly-arquillian.version}</version>
            <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin>
            <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
            <version>${maven-dependency-plugin.version}</version> <executions> <execution>
            <id>unpack</id> <phase>pre-integration-test</phase> <goals> <goal>unpack</goal>
            </goals> <configuration> <artifactItems> <artifactItem>
        <groupId>org.wildfly</groupId>
            <artifactId>wildfly-dist</artifactId> <version>${wildfly.version}</version>
            <type>zip</type> <overWrite>false</overWrite>
        <outputDirectory>${project.build.directory}</outputDirectory>
            </artifactItem> </artifactItems> </configuration> </execution> </executions>
            </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId>
        <version>${maven-failsafe-plugin.version}</version>
            <configuration> <environmentVariables>
        <JBOSS_HOME>${project.build.directory}/wildfly-${wildfly.version}</JBOSS_HOME>
            </environmentVariables> <systemPropertyVariables>
        <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
            </systemPropertyVariables> </configuration> </plugin> </plugins> </build>
            </profile> -->


        <!-- TESTING embedded <profile> <id>arq-wildfly-embedded</id>
        <properties>
            <skipTests>false</skipTests> </properties> <dependencies> <dependency>
        <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-client</artifactId> <version>${resteasy.version}</version>
            <scope>test</scope> </dependency> <dependency>
        <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jackson2-provider</artifactId>
        <version>${resteasy.version}</version>
            <scope>test</scope> </dependency> <dependency>
        <groupId>org.wildfly.arquillian</groupId>
            <artifactId>wildfly-arquillian-container-embedded</artifactId>
        <version>${wildfly-arquillian.version}</version>
            <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin>
            <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
            <version>${maven-dependency-plugin.version}</version> <executions> <execution>
            <id>unpack</id> <phase>pre-integration-test</phase> <goals> <goal>unpack</goal>
            </goals> <configuration> <artifactItems> <artifactItem>
        <groupId>org.wildfly</groupId>
            <artifactId>wildfly-dist</artifactId> <version>${wildfly.version}</version>
            <type>zip</type> <overWrite>false</overWrite>
        <outputDirectory>${project.build.directory}</outputDirectory>
            </artifactItem> </artifactItems> </configuration> </execution> </executions>
            </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId>
        <version>${maven-failsafe-plugin.version}</version>
            <configuration> <environmentVariables>
        <JBOSS_HOME>${project.build.directory}/wildfly-${wildfly.version}</JBOSS_HOME>
            </environmentVariables> <systemPropertyVariables>
        <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
            </systemPropertyVariables> </configuration> </plugin> </plugins> </build>
            </profile> ! -->


    </profiles>


</project>
 
Zuletzt bearbeitet:
Ähnliche Java Themen
  Titel Forum Antworten Datum
T Unterschiedliche Datentypen - worin abspeichern? Java Basics - Anfänger-Themen 18
F Falscher Link zum Path? Unterschiedliche Antworten bei Eclipse und VisualStudiocode Java Basics - Anfänger-Themen 5
A Wieso bekomme ich hier zwei unterschiedliche Ausgaben? Java Basics - Anfänger-Themen 6
M Writer für unterschiedliche Obj/inbt/double erstellen? Java Basics - Anfänger-Themen 1
AnnaBauer21 GridBagLayout JLabel weightx: Unterschiedliche Breite mit & ohne Text Java Basics - Anfänger-Themen 6
J Unterschiedliche Ordnerstrukturen trotz gleicher Entwicklungsumgebungen Java Basics - Anfänger-Themen 3
A Datentypen Unterschiedliche Datentypen in einer Eingabe einlesen Java Basics - Anfänger-Themen 2
F Wie String in unterschiedliche Listen teilen Java Basics - Anfänger-Themen 7
J 2 Arrays vergleichen (Unterschiedliche Längen) Java Basics - Anfänger-Themen 42
F for schleife - stark unterschiedliche Berechnungszeit Java Basics - Anfänger-Themen 30
L Via Interfaces unterschiedliche Klassen ansprechen Java Basics - Anfänger-Themen 8
OnDemand Bindestrich unterschiedliche? Java Basics - Anfänger-Themen 3
O Unterschiedliche Attribute in Objekklasse? Java Basics - Anfänger-Themen 5
J Unterschiedliche Spaltengröße im Grid(bag)layout Java Basics - Anfänger-Themen 6
N Applets: unterschiedliche Java Versionen Java Basics - Anfänger-Themen 7
B Zwei Unterschiedliche Klassen bei Instanzierung Java Basics - Anfänger-Themen 5
S Datentypen Array fill Methode - unterschiedliche Datentypen Java Basics - Anfänger-Themen 6
B Wie kann ich unterschiedliche Datentypen in einem Feld abbilden? Java Basics - Anfänger-Themen 5
M Methode soll zwei unterschiedliche primitives zurückgeben Java Basics - Anfänger-Themen 7
R Unterschiedliche Initialisierungen Java Basics - Anfänger-Themen 3
A unterschiedliche Schreibweisen Java Basics - Anfänger-Themen 19
ARadauer String.split -> unterschiedliche längen Java Basics - Anfänger-Themen 2
B Primzahlen berechnen - Wieso unterschiedliche Java Basics - Anfänger-Themen 3
P Servlet unterschiedliche Server Java Basics - Anfänger-Themen 2
T Unterschiedliche Werte beim FileInputStream Lesen Java Basics - Anfänger-Themen 2
G Unterschiedliche Arten jars einzubinden in Eclipse. Warum? Java Basics - Anfänger-Themen 4
A Unterschiedliche Pfade je nach OS? Java Basics - Anfänger-Themen 4
N Unterschiedliche Resultate bei RUN und DEBUG !? Java Basics - Anfänger-Themen 8
O Unterschiedliche Masken Java Basics - Anfänger-Themen 7
V funktionen/Variablen f. unterschiedliche Klassen definierne? Java Basics - Anfänger-Themen 6
M unterschiedliche arten von methoden Java Basics - Anfänger-Themen 4
S Mit line.split() leider unterschiedliche Anzahl von Spalten Java Basics - Anfänger-Themen 19
E Classpath Libs in *.jar Datei? Java Basics - Anfänger-Themen 2
D Externe Libs in Jar Java Basics - Anfänger-Themen 2
puba Twitter4j fehlen beim Compilieren Libs Java Basics - Anfänger-Themen 5
Hindi93 Neue Libs - wohin damit? Java Basics - Anfänger-Themen 7
S Double bis bestimmte Nachkommzahl vergleichen (ohne zusätzliche Libs) Java Basics - Anfänger-Themen 12
G Java mit libs und classpath? Java Basics - Anfänger-Themen 5
M libs/jars richtig mitladen bei der Ausführung Java Basics - Anfänger-Themen 4
G nicht-benötigte libs finden Java Basics - Anfänger-Themen 3

Ähnliche Java Themen


Oben