Maven IncompatibleClassChangeError

Bitte aktiviere JavaScript!
Grüß euch,

normal finde ich bei euch bzw. bei Stack Overflow ja immer die Lösung, nur jetzt steh ich echt felsenfest an!

Ich hab ein JavaEE Projekt mit Maven Parent Modul, ein Modul "w2SystemCORE" was die Persistence und Entitys hat, dann noch 2 weitere Module und zuletzt das WEB Modul von Maven.

Das Projekt läuft toll in Eclipse (Windows 10) und in der integrierten Tomcat 8 Runtime.

Mit "MAVEN install" durch die Module bis im WEB dann das .war File ensteht. Das File auf einen nackten Debian 9 Server mit Webmin und dem Tomcat Plugin von Webmin.

Deploy .war File und start Server ... endet in 404:
Code:
05-Nov-2017 22:06:39.487 INFORMATION [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log 2 Spring WebApplicationInitializers detected on classpath
05-Nov-2017 22:06:39.911 INFORMATION [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
05-Nov-2017 22:06:46.399 SCHWERWIEGEND [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in at.w2s.w2SystemWEB.config.
DataAccessConfig: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [w2SystemCORE] failed.
Internal Exception: java.lang.IncompatibleClassChangeError: Implementing class
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1081)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:856)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4743)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [w2SystemCORE] failed.
Internal Exception: java.lang.IncompatibleClassChangeError: Implementing class
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createPredeployFailedPersistenceException(EntityManagerSetupImpl.java:1954)
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:1945)
   at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:322)
        at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:353)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:373)
        at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:362)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
        ... 25 more
Caused by: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [w2SystemCORE] failed.
Internal Exception: java.lang.IncompatibleClassChangeError: Implementing class
        at org.eclipse.persistence.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:230)
        ... 33 more
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2277)
        at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:811)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1254)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
        at org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.processEntityMappings(MetadataProcessor.java:538)
        at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:581)
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:1869)
        ... 31 more

05-Nov-2017 22:06:46.414 INFORMATION [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContext
persistence.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
   <persistence-unit name="w2SystemCORE" transaction-type="RESOURCE_LOCAL">
       <provider>
           org.eclipse.persistence.jpa.PersistenceProvider
       </provider>
       <class>at.w2s.model.core.AccRight</class>
       <class>at.w2s.model.core.AccRightPK</class>
       <class>at.w2s.model.core.AddressTable</class>
       <class>at.w2s.model.core.AddressTablePK</class>
       <class>at.w2s.model.core.AddressZipCode</class>
       <class>at.w2s.model.core.AddressZipCodePK</class>
       <class>at.w2s.model.core.BankTable</class>
       <class>at.w2s.model.core.BankTablePK</class>
       <class>at.w2s.model.core.ContactPerson</class>
       <class>at.w2s.model.core.ContactPersonPK</class>
       <class>at.w2s.model.core.CustTable</class>
       <class>at.w2s.model.core.CustTableFtpSetting</class>
       <class>at.w2s.model.core.CustTableFtpSettingPK</class>
       <class>at.w2s.model.core.CustTablePK</class>
       <class>at.w2s.model.core.CustTableParameter</class>
       <class>at.w2s.model.core.CustTableParameterPK</class>
       <class>at.w2s.model.core.Domain</class>
       <class>at.w2s.model.core.DomainPK</class>
       <class>at.w2s.model.core.DomainTable</class>
       <class>at.w2s.model.core.DomainTablePK</class>
       <class>at.w2s.model.core.InfoTable</class>
       <class>at.w2s.model.core.InfoTablePK</class>
       <class>at.w2s.model.core.KeyDataTable</class>
       <class>at.w2s.model.core.KeyDataTablePK</class>
           ......
       <class>at.w2s.model.moderp.InventLocationPK</class>
       <class>at.w2s.model.moderp.InventSum</class>
       <class>at.w2s.model.moderp.InventSumPK</class>
   
       
   
       
       <properties>
            <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" />
             <property name="javax.persistence.jdbc.url"    value="jdbc:mysql://...:3306/w2System_dev01" />
             <property name="javax.persistence.jdbc.user" value="..." />
             <property name="javax.persistence.jdbc.password" value="..." />
             <property name="eclipselink.ddl-generation" value="create-tables" />
             <property name="eclipselink.ddl-generation.output-mode" value="database" />
             <property name="eclipselink.weaving" value="false"/>
             <property name="eclipselink.allow-zero-id" value="true"/>
       </properties>
   </persistence-unit>
</persistence>
Parent 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/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>

   <groupId>at.w2s</groupId>
   <artifactId>w2System</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>w2System</name>
   <url>http://w2s.at</url>

   <properties>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <webflow-version>2.4.2.RELEASE</webflow-version>
       <spring-framework-version>4.3.4.RELEASE</spring-framework-version>
       <springsecurity-version>4.0.1.RELEASE</springsecurity-version>
       <spring-data-jpa.version>1.10.1.RELEASE</spring-data-jpa.version>
       <slf4j-version>1.7.5</slf4j-version>
       <thymeleaf-version>2.1.3.RELEASE</thymeleaf-version>
       <thymeleaf-extras-tiles2-version>2.1.1.RELEASE</thymeleaf-extras-tiles2-version>
       <thymeleaf-extras-springsecurity4-version>2.1.2.RELEASE</thymeleaf-extras-springsecurity4-version>
       <thymeleaf-extras-conditionalcomments-version>2.1.1.RELEASE</thymeleaf-extras-conditionalcomments-version>
       <tiles-version>2.2.2</tiles-version>
   </properties>

   <repositories>
       <repository>
           <id>spring</id>
           <name>Spring Repository</name>
           <url>http://repo.spring.io/snafpshot</url>
           <releases>
               <enabled>true</enabled>
           </releases>
           <snapshots>
               <enabled>true</enabled>
           </snapshots>
       </repository>
       <repository>
           <id>com.springsource.repository.bundles.release</id>
           <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
           <url>http://repository.springsource.com/maven/bundles/release</url>
       </repository>
       <repository>
           <id>com.springsource.repository.bundles.external</id>
           <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
           <url>http://repository.springsource.com/maven/bundles/external</url>
       </repository>
   </repositories>
   
   <dependencyManagement>
       <dependencies>
           <dependency>
               <groupId>org.springframework</groupId>
               <artifactId>spring-framework-bom</artifactId>
               <version>${spring-framework-version}</version>
               <type>pom</type>
               <scope>import</scope>
           </dependency>
           <dependency>
               <groupId>org.springframework</groupId>
               <artifactId>spring-context</artifactId>
               <version>${spring-framework-version}</version>
               </dependency>
               
       </dependencies>
   </dependencyManagement>

   <dependencies>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-context-support</artifactId>
           <version>${spring-framework-version}</version>
       </dependency>
       
       <!-- Thymeleaf -->
       <dependency>
           <groupId>org.thymeleaf</groupId>
           <artifactId>thymeleaf</artifactId>
           <version>${thymeleaf-version}</version>
       </dependency>
       <dependency>
           <groupId>org.thymeleaf</groupId>
           <artifactId>thymeleaf-spring4</artifactId>
           <version>${thymeleaf-version}</version>
       </dependency>
       <dependency>
           <groupId>org.thymeleaf.extras</groupId>
           <artifactId>thymeleaf-extras-tiles2-spring4</artifactId>
           <version>${thymeleaf-extras-tiles2-version}</version>
       </dependency>
       <dependency>
           <groupId>org.thymeleaf.extras</groupId>
           <artifactId>thymeleaf-extras-springsecurity4</artifactId>
           <version>${thymeleaf-extras-springsecurity4-version}</version>
       </dependency>
       <dependency>
           <groupId>org.thymeleaf.extras</groupId>
           <artifactId>thymeleaf-extras-conditionalcomments</artifactId>
           <version>${thymeleaf-extras-conditionalcomments-version}</version>
       </dependency>

       <!-- Spring -->
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-web</artifactId>
           <exclusions>
               <exclusion>
                   <groupId>commons-logging</groupId>
                   <artifactId>commons-logging</artifactId>
               </exclusion>
           </exclusions>
       </dependency>

       <!-- http://mvnrepository.com/artifact/org.springframework.data/spring-data-jpa -->
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-webmvc</artifactId>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-jdbc</artifactId>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-orm</artifactId>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-aop</artifactId>
       </dependency>
       <dependency>
           <groupId>org.springframework.webflow</groupId>
           <artifactId>spring-webflow</artifactId>
           <version>${webflow-version}</version>
           <exclusions>
               <exclusion>
                   <groupId>commons-logging</groupId>
                   <artifactId>commons-logging</artifactId>
               </exclusion>
           </exclusions>
       </dependency>
       <dependency>
           <groupId>org.springframework.webflow</groupId>
           <artifactId>spring-js</artifactId>
           <version>${webflow-version}</version>
           <exclusions>
               <exclusion>
                   <groupId>commons-logging</groupId>
                   <artifactId>commons-logging</artifactId>
               </exclusion>
           </exclusions>
       </dependency>
       <dependency>
           <groupId>org.springframework.security</groupId>
           <artifactId>spring-security-web</artifactId>
           <version>${springsecurity-version}</version>
       </dependency>
       <dependency>
           <groupId>org.springframework.security</groupId>
           <artifactId>spring-security-taglibs</artifactId>
           <version>${springsecurity-version}</version>
       </dependency>
       <dependency>
           <groupId>org.springframework.security</groupId>
           <artifactId>spring-security-config</artifactId>
           <version>${springsecurity-version}</version>
       </dependency>

       <dependency>
           <groupId>org.springframework.data</groupId>
           <artifactId>spring-data-jpa</artifactId>
           <version>${spring-data-jpa.version}</version>
       </dependency>

       <dependency>
           <groupId>com.fasterxml.jackson.core</groupId>
           <artifactId>jackson-databind</artifactId>
           <version>2.7.3</version>
       </dependency>

       <dependency>
           <groupId>org.json</groupId>
           <artifactId>json</artifactId>
           <version>20160212</version>
       </dependency>
       
       <!-- Logging -->       
       <dependency>
           <groupId>org.slf4j</groupId>
           <artifactId>slf4j-api</artifactId>
           <version>1.7.25</version>
       </dependency>
       <dependency>
           <groupId>org.apache.logging.log4j</groupId>
           <artifactId>log4j-core</artifactId>
           <version>2.9.1</version>
       </dependency>
       <dependency>
           <groupId>org.apache.logging.log4j</groupId>
           <artifactId>log4j-api</artifactId>
           <version>2.9.1</version>
       </dependency>
       <dependency>
           <groupId>org.apache.logging.log4j</groupId>
           <artifactId>log4j-slf4j-impl</artifactId>
           <version>2.9.1</version>
       </dependency>
       <dependency>
           <groupId>org.apache.logging.log4j</groupId>
           <artifactId>log4j-jcl</artifactId>
           <version>2.9.1</version>
       </dependency>
       <dependency>
           <groupId>org.apache.logging.log4j</groupId>
           <artifactId>log4j-web</artifactId>
           <version>2.9.1</version>
       </dependency>

       <!-- Database, JPA -->

       <!-- Servlet -->
       <dependency>
           <groupId>javax.servlet</groupId>
           <artifactId>javax.servlet-api</artifactId>
           <version>3.0.1</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>javax.servlet.jsp</groupId>
           <artifactId>jsp-api</artifactId>
           <version>2.1</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
           <groupId>javax.servlet</groupId>
           <artifactId>jstl</artifactId>
           <version>1.2</version>
       </dependency>
       <dependency>
           <groupId>javax.mail</groupId>
           <artifactId>javax.mail-api</artifactId>
           <version>1.5.5</version>
       </dependency>
       
       <dependency>
           <groupId>org.simplejavamail</groupId>
           <artifactId>simple-java-mail</artifactId>
           <version>4.1.1</version>
       </dependency>
       
       <!-- Apache Tiles -->
       <dependency>
           <groupId>org.apache.tiles</groupId>
           <artifactId>tiles-core</artifactId>
           <version>${tiles-version}</version>
       </dependency>
       <dependency>
           <groupId>org.apache.tiles</groupId>
           <artifactId>tiles-api</artifactId>
           <version>${tiles-version}</version>
       </dependency>
       <dependency>
           <groupId>org.apache.tiles</groupId>
           <artifactId>tiles-template</artifactId>
           <version>${tiles-version}</version>
       </dependency>
       <dependency>
           <groupId>org.apache.tiles</groupId>
           <artifactId>tiles-servlet</artifactId>
           <version>${tiles-version}</version>
       </dependency>
       <dependency>
           <groupId>org.apache.tiles</groupId>
           <artifactId>tiles-jsp</artifactId>
           <version>${tiles-version}</version>
       </dependency>

       <!-- JSR 303 with Hibernate Validator -->
       <dependency>
           <groupId>org.hibernate</groupId>
           <artifactId>hibernate-validator</artifactId>
           <version>4.3.0.Final</version>
       </dependency>
       <!-- JAXB is needed when running on Java 5. In this environment these dependencies
           have to be added (unless xml configuration is explicitly disabled via Configuration.ignoreXmlConfiguration)
           On Java 6 jaxb is part of the runtime environment. -->
       <dependency>
           <groupId>javax.xml.bind</groupId>
           <artifactId>jaxb-api</artifactId>
           <version>2.1</version>
       </dependency>

       <!-- Database, JPA -->
       <!-- Dependencies for Eclipse JPA Persistence API -->
       <dependency>
           <groupId>org.eclipse.persistence</groupId>
           <artifactId>eclipselink</artifactId>
           <version>2.5.2</version>
       </dependency>
       <dependency>
           <groupId>org.eclipse.persistence</groupId>
           <artifactId>javax.persistence</artifactId>
           <version>2.1.1</version>
       </dependency>
       <dependency>
           <groupId>javax.persistence</groupId>
           <artifactId>persistence-api</artifactId>
           <version>1.0.2</version>
       </dependency>
       <dependency>
           <groupId>org.eclipse.persistence</groupId>
           <artifactId>org.eclipse.persistence.jpa</artifactId>
           <version>2.6.1</version>
       </dependency>

       <!-- Hibernate 4.3.6 core library library -->
       <dependency>
           <groupId>org.hibernate</groupId>
           <artifactId>hibernate-core</artifactId>
           <version>4.3.6.Final</version>
       </dependency>
       <!-- Hibernate 4.3.6 JPA support -->
       <dependency>
           <groupId>org.hibernate</groupId>
           <artifactId>hibernate-entitymanager</artifactId>
           <version>4.3.6.Final</version>
       </dependency>
       <!-- MySQL driver connector library -->
       <dependency>
           <groupId>mysql</groupId>
           <artifactId>mysql-connector-java</artifactId>
           <version>5.1.38</version>
       </dependency>

       <!-- JasperReports -->
       <dependency>
            <groupId>net.sf.jasperreports</groupId>
            <artifactId>jasperreports</artifactId>
            <version>6.4.3</version>
            <type>jar</type>
            <scope>compile</scope>           
        </dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
            <version>3.6</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.1.7</version>
        </dependency>
        <dependency>
            <groupId>commons-digester</groupId>
            <artifactId>commons-digester</artifactId>
            <version>2.1</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-all</artifactId>
            <version>1.7.0</version>
        </dependency>
       
       <!-- Joda Time -->
       <dependency>
           <groupId>joda-time</groupId>
           <artifactId>joda-time</artifactId>
           <version>2.2</version>
       </dependency>
       <dependency>
           <groupId>joda-time</groupId>
           <artifactId>joda-time-jsptags</artifactId>
           <version>1.1.1</version>
           <scope>runtime</scope>
       </dependency>

       <!-- Test -->
       <dependency>
           <groupId>org.easymock</groupId>
           <artifactId>easymock</artifactId>
           <version>3.1</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>junit</groupId>
           <artifactId>junit</artifactId>
           <version>4.11</version>
           <scope>test</scope>
       </dependency>
       <dependency>
           <groupId>org.springframework</groupId>
           <artifactId>spring-test</artifactId>
           <scope>test</scope>
       </dependency>

       <dependency>
           <groupId>commons-fileupload</groupId>
           <artifactId>commons-fileupload</artifactId>
           <version>1.2.2</version>
       </dependency>
   
       <!-- Apache Commons Upload -->
       <dependency>
           <groupId>commons-io</groupId>
           <artifactId>commons-io</artifactId>
           <version>1.3.2</version>
       </dependency>
       
       <!-- https://mvnrepository.com/artifact/org.springframework.batch/spring-batch-core -->
       <dependency>
           <groupId>org.springframework.batch</groupId>
           <artifactId>spring-batch-core</artifactId>
           <version>3.0.7.RELEASE</version>
       </dependency>
   </dependencies>
   
   <build>
       <finalName>w2SystemWEB</finalName>
       <plugins>
           <plugin>
               <artifactId>maven-compiler-plugin</artifactId>
               <version>3.7.0</version>
               <configuration>
                   <source>1.8</source>
                   <target>1.8</target>
               </configuration>
           </plugin>
           <plugin>
               <artifactId>maven-war-plugin</artifactId>
               <version>2.4</version>
               <configuration>
                   <warSourceDirectory>WebContent</warSourceDirectory>
                   <failOnMissingWebXml>false</failOnMissingWebXml>
               </configuration>
           </plugin>
       </plugins>
   </build>
   
</project>
Den einzigen Hinweis den ich im Web bekommen hab war der, dass eventuell irgendeine eingebundene Library doppelt ist (Aufgrund des IncompatibleClassChangeError). Das hätt ich mal überflogen, hab auch die Librarys die global übern BuildPath kamen raus geschmissen, weil die so und so über die pom.xml auch nochmals eingebunden waren (EclipseLink, JDBC Connector,...). Kann aber echt keine Redundanz mehr finden. Wenn der Auslöser doch EclipseLink ist, hab ich auch keine Ahnung was ihm da am Zielserver abgeht, was meine Eclipse Umgebung irgendwie bereit stellt.

Ganz zu Beginn hat der Server auch noch gemeint, er findet überhaupt die Persistence Unit "w2SystemCORE" nicht. Hat aber daran gelegen, dass die persistence.xml nicht im META-INF Verzeichnis war. Warum das Eclipse selbst egal war, keine Ahnung. Nachdem ich die persistence.xml in den META-INF geschoben hab, kam die Meldung zwar nicht mehr, aber dafür häng ich jetzt eben bei der obigen.

Könnte vlt. der Standardconfig vom Tomcat 8 Server am Zielserver was fehlen?
Hab da nur auf die Schnelle im Webminmodul auf Install Tomcat geklickt.
Aber was EclipseLink etc. angeht, das sollte doch alles mit im .war File verpackt werden, oder?

Mir gehen auf jeden Fall die Ideen aus!

Ich zähl da auf euren Input : )!


Vielen Dank!


lg Wolfram
 
A

Anzeige


Vielleicht hilft dir dieser Kurs hier weiter: (hier klicken)
Hi,

fallst du damit Run As -> Maven clean meinst, bevor man Maven install ausführt, dann hab ich das gemacht, ja.
Des öfteren : ). Am Schluss auch schon mal ohne clean, weil mir aufgefallen ist, dass die locale Eclipse Runtime von Tomcat nach dem clean nicht sauber hochgefahren ist und zuvor wieder ein Maven "Update Project" nötig war.

Ich muss aber an dieser Stelle auch gestehen, dass ich mit dem Maven Zeug noch nicht wirklich fit bin!

Zu deinem Link, danke erstmal, aber bekomm ich das in meinen Kopf nicht rein, warum programmtechnisch etwas nicht in Ordnung sein sollte, wenn der lokale Tomcat kein Problem damit hat. Zudem wüsst ich nicht wo ich im Programmcode zu Suchen anfangen sollte, bzw. wenn es das wirklich ist, wie in deinem Link beschrieben, wirds interessant das heraus zu finden ; /.
Aber wenn keine Ideen mehr kommen, wirds auf das hinaus laufen.

lg
 
Zuletzt bearbeitet:
Hi, danke für den Tipp!

Nachdem ich jetzt mal mvn in Windows hin bekommen hab. Hab ich jetzt von meinen Maven ProjektModulen die Dependencie Files schreiben lassen. Hab ich jetzt irgend eine Chance mir die doppelten zu filtern, ohne viereckige Augen zu bekommen?
 
Hab die poms durchgearbeitet und alles raus genommen was ich gefunden habe. War auch einiges dabei, was vermeindlich doppelt war : ). Leider ohne Erfolg, die Meldung bleibt mir anscheinend. Entweder ist noch was drinnen, was so nicht erkennbar ist oder es ist ganz etwas anderes.

Verstehs trotzdem nicht, warum es lokal einwandfrei funktioniert. Ändert Eclipse am lokalen Tomcat etwas, was ich am Zielserver auch anpassen sollte?
 
Ich denke eher, der Zielservee hat was geändert und bringt zusätzliches mit, welches den Konflikt verursacht.

Welche Klassen werden an der Fehlerstelle denn geladen?
 
So, hab jetzt mein Plesk Server her genommen, wo leider nur Tomcat 7 läuft. Hab dort java 8 jdk installiert und den Standard auf die 8er Version umgestellt. Tomcat 7 + jdk 8 sollte ja kompatible sein, oder?

Dort am Server bekomm ich folgenden Output:

Code:
INFORMATION: Manager: start: Starting web application '/w2SystemWEB'
Nov 07, 2017 3:55:47 PM org.apache.catalina.startup.HostConfig deployWAR
INFORMATION: Deploying web application archive /var/lib/tomcat7/psa-webapps/app.simpleoffice.at/w2SystemWEB.war
Nov 07, 2017 3:55:57 PM org.apache.catalina.core.ApplicationContext log
INFORMATION: Manager: list: Listing contexts for virtual host 'app.simpleoffice.at'
Nov 07, 2017 3:55:58 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [org/springframework/data/jpa/domain/support/AuditingBeanFactoryPostProcessor.class] from Jar [jar:jndi:/
app.simpleoffice.at/w2SystemWEB/WEB-INF/lib/spring-data-jpa-1.10.1.RELEASE.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readInt(FastDataInputStream.java:145)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:200)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:78)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:01 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [org/eclipse/persistence/sessions/coordination/corba/CORBATransportManager.class] from Jar [jar:jndi:/app
.simpleoffice.at/w2SystemWEB/WEB-INF/lib/org.eclipse.persistence.core-2.6.1.jar!/] for annotations 
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readInt(FastDataInputStream.java:145)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:200)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:78)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:02 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [org/eclipse/persistence/internal/indirection/TransparentIndirectionPolicy.class] from Jar [jar:jndi:/app
.simpleoffice.at/w2SystemWEB/WEB-INF/lib/org.eclipse.persistence.core-2.6.1.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readUnsignedShort(FastDataInputStream.java:120)
        at org.apache.tomcat.util.bcel.classfile.Utility.swallowFieldOrMethod(Utility.java:75)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:235)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:92)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:02 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [org/eclipse/persistence/internal/sessions/UnitOfWorkImpl$2.class] from Jar [jar:jndi:/app.simpleoffice.a
t/w2SystemWEB/WEB-INF/lib/org.eclipse.persistence.core-2.6.1.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readInt(FastDataInputStream.java:145)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:200)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:78)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:03 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [oasis/names/specification/ubl/schema/xsd/commonbasiccomponents_21/ServiceTypeCodeType.class] from Jar [j
ar:jndi:/app.simpleoffice.at/w2SystemWEB/WEB-INF/lib/ph-ubl21-4.5.0.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readUnsignedShort(FastDataInputStream.java:120)
        at org.apache.tomcat.util.bcel.classfile.ElementValue.readElementValue(ElementValue.java:102)
        at org.apache.tomcat.util.bcel.classfile.ElementValuePair.<init>(ElementValuePair.java:42)
        at org.apache.tomcat.util.bcel.classfile.AnnotationEntry.<init>(AnnotationEntry.java:56)
        at org.apache.tomcat.util.bcel.classfile.Annotations.<init>(Annotations.java:42)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readAttributes(ClassParser.java:129)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:94)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:03 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [org/codehaus/groovy/runtime/DefaultGroovyMethods$ByteDumper.class] from Jar [jar:jndi:/app.simpleoffice.
at/w2SystemWEB/WEB-INF/lib/groovy-all-1.7.0.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readInt(FastDataInputStream.java:145)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:200)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:78)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:05 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [com/helger/ubl21/codelist/CPortCode_air21$NamePart3.class] from Jar [jar:jndi:/app.simpleoffice.at/w2Sys
temWEB/WEB-INF/lib/ph-ubl21-codelists-4.5.0.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readInt(FastDataInputStream.java:145)
        at org.apache.tomcat.util.bcel.classfile.Utility.swallowAttribute(Utility.java:86)
        at org.apache.tomcat.util.bcel.classfile.Utility.swallowFieldOrMethod(Utility.java:77)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:235)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:92)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:05 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [org/eclipse/persistence/internal/jpa/metadata/copypolicy/InstantiationCopyPolicyMetadata.class] from Jar
 [jar:jndi:/app.simpleoffice.at/w2SystemWEB/WEB-INF/lib/org.eclipse.persistence.jpa-2.6.1.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readUnsignedShort(FastDataInputStream.java:120)
        at org.apache.tomcat.util.bcel.classfile.Utility.swallowFieldOrMethod(Utility.java:75)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:235)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:92)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:06 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [org/springframework/format/annotation/DateTimeFormat$ISO.class] from Jar [jar:jndi:/app.simpleoffice.at/
w2SystemWEB/WEB-INF/lib/spring-context-4.3.4.RELEASE.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readInt(FastDataInputStream.java:145)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:200)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:78)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:06 PM org.apache.catalina.startup.ContextConfig processAnnotationsJar
SCHWERWIEGEND: Unable to process Jar entry [javax/mail/internet/InternetHeaders$MatchStringEnum.class] from Jar [jar:jndi:/app.simpleoffice.at/w2Sys
temWEB/WEB-INF/lib/javax.mail-1.5.5.jar!/] for annotations
java.io.EOFException
        at org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readUnsignedShort(FastDataInputStream.java:120)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.readAttributes(ClassParser.java:110)
        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:94)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2071)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1947)
        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1913)
        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1898)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1330)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5413)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1879)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
        at java.lang.Thread.run(Thread.java:748)

Nov 07, 2017 3:56:07 PM org.apache.catalina.core.ApplicationContext log
INFORMATION: Manager: list: Listing contexts for virtual host 'app.simpleoffice.at'
Nov 07, 2017 3:56:11 PM org.apache.catalina.core.ApplicationContext log
INFORMATION: Manager: list: Listing contexts for virtual host 'app.simpleoffice.at'
Nov 07, 2017 3:56:16 PM org.apache.catalina.core.ApplicationContext log
INFORMATION: No Spring WebApplicationInitializer types detected on classpath
Nov 07, 2017 3:56:16 PM org.apache.catalina.startup.HostConfig deployWAR
INFORMATION: Deployment of web application archive /var/lib/tomcat7/psa-webapps/app.simpleoffice.at/w2SystemWEB.war has finished in 28,865 ms
Nov 07, 2017 3:56:17 PM org.apache.catalina.core.ApplicationContext log
INFORMATION: Manager: list: Listing contexts for virtual host 'app.simpleoffice.at'
Sind das jetzt Hinweise, dass ich mit manchen Libraries was machen soll, oder ist das einfach nur, weil mein .war Build mit Tomcat 7 nicht läuft?

Danke nochmals für eure Hilfe!
 
So, nach 4 Nerven vernichtende Tage, folgender Lösungsweg...

Mit
Code:
mvn dependency:analyze-duplicate
auf doppelte Libraries geprüft. Es war zB. der fasterxml durch die Jasper Library doppelt und einige andere Dinge. Mir wurde auch ein downgrade empfohlen der log4j Version auf 2.8 von 2.9, weil die 2.9 multiversionsfähig ist zur 1.9 java Version.

Leider war das auch noch nicht die ganze Wahrheit. Der Server kam ein ganzes Stück weiter beim booten, jedoch wieder mit der selben Meldung hängen geblieben.

Suche ging weiter. In diesem Zuge auch paar Maven build Einstellungen ergänzt und ausgebessert, sowie die gegenseitigen Abhängigkeiten der einzelnen Maven Module. Das Rätsln ging dann allerdings noch weiter, bis auch endlich die org.eclipse.persistence.jpa aufgefallen ist, die wir in unserem Projekt so gar nicht benötigen. Nach dem entfernen von dieser dependency, ist der Server endlich hochgefahren!!

Das Projekt wurde auch um rund 40MB kleiner : ).

Vielen Dank für eure Tips, sie waren wichtige Wegweiser!

Jetzt häng ich zwar noch am ThymeleafeTilesConfigurer, der im .war Build das WEB-INF Verzeichnis nicht findet am Zielserver, aber das ist ja schon mal eine viel klarere Fehlermeldung die sich sicher heut Abend auch noch lösen lässt.

lg
 
Jo, passiert eig. nur, wenn man unterschiedliche Versionen einer Library eingebunden hat.

Es gibt aber Überlegungen, ob man das Modulsystem von Java 9 in Java 10 so erweitert, dass es Versionierung unterstützt, damit würde man solche Fehler in Zukunft umgehen.
 
Passende Stellenanzeigen aus deiner Region:

Neue Themen

Oben