I am using intellij and jmix plugin this is my first application
on connecting my application with database i get
2024-05-03 18:23:02.110 WARN 32811 — [nio-8080-exec-2] org.atmosphere.util.IOUtils : More than one Servlet Mapping defined. WebSocket may not work org.apache.catalina.core.ApplicationServletRegistration@845725e
2024-05-03 18:23:05.273 INFO 32811 — [pool-3-thread-1] eclipselink.logging.all : EclipseLink, version: Eclipse Persistence Services - 2.7.9.6-jmix
Error :
Caused by: org.springframework.security.authentication.InternalAuthenticationServiceException: An exception occurred while creating a query in EntityManager:
Caused by: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Hello,
not exactly the answer to your question, but, my strong advice is to use Jmix 2.2 if you are starting with Jmix.
Kind regards,
Mladen
Hi
Please provide the whole output of your application.
The error message above is truncated, so it doesn’t contain necessary information.
so i have aplication that was in cuba 7.2 and i am migrating to jmix so firstly i am converting it to jmix 1.5 on running the application and connecting the database which is postgres i get this error. This is the complete error i haven’t removed anything from the output . on hitting the login button of login screen i get this error
Caused by: java.lang.reflect.InvocationTargetException: null
Caused by: org.springframework.security.authentication.InternalAuthenticationServiceException: An exception occurred while creating a query in EntityManager:
Caused by: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Caused by: org.eclipse.persistence.exceptions.JPQLException:
I mean IDE console output
It should look like:
13:54:10: Executing 'bootRun'...
> Task :bootBuildInfo
> Task :compileJava
Enhancing entities in root project 'appjava16S' for source set 'main'
Project entities:
JPA: [com.company.appjava16s.entity.User];
DTO: [];
Project converters: [].
Running EclipseLink enhancer in root project 'appjava16S' for source set 'main'
Running Jmix enhancer in root project 'appjava16S' for source set 'main'
> Task :processResources
> Task :classes
> Task :bootRunMainClassName
> Task :bootRun
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.7.18)
2024-05-08 13:54:14.350 INFO 57705 --- [ main] c.c.appjava16s.Appjava16SApplication : Starting Appjava16SApplication using Java 17.0.8.1 on MBP-Admin.haulmont.com with PID 57705 (/Users/gaslov/tmp/appjava16S/build/classes/java/main started by gaslov in /Users/gaslov/tmp/appjava16S)
2024-05-08 13:54:14.351 INFO 57705 --- [ main] c.c.appjava16s.Appjava16SApplication : No active profile set, falling back to 1 default profile: "default"
2024-05-08 13:54:15.078 INFO 57705 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Jmix repositories in DEFAULT mode.
2024-05-08 13:54:15.086 INFO 57705 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 5 ms. Found 0 Jmix repository interfaces.
2024-05-08 13:54:15.212 INFO 57705 --- [ main] io.jmix.core.JmixModulesProcessor : Using Jmix modules: [io.jmix.core, io.jmix.security, io.jmix.ui, io.jmix.securityui, io.jmix.data, io.jmix.datatools, io.jmix.gridexportui, io.jmix.datatoolsui, io.jmix.eclipselink, io.jmix.localfs, io.jmix.securitydata, io.jmix.uidata, com.company.appjava16s]
2024-05-08 13:54:15.215 INFO 57705 --- [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'com.vaadin.spring.VaadinConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
2024-05-08 13:54:15.565 INFO 57705 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2024-05-08 13:54:15.570 INFO 57705 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-05-08 13:54:15.570 INFO 57705 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.83]
2024-05-08 13:54:15.630 INFO 57705 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-05-08 13:54:15.631 INFO 57705 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1187 ms
2024-05-08 13:54:15.732 INFO 57705 --- [ main] i.j.c.i.s.JmixModulesClasspathScanner : Classpath scan completed in 81 ms
2024-05-08 13:54:15.828 INFO 57705 --- [ main] io.jmix.core.impl.MetadataLoader : Metadata initialized in 44 ms
2024-05-08 13:54:15.903 INFO 57705 --- [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Servlet will be mapped to URLs [/vaadinServlet/*, /VAADIN/*]
2024-05-08 13:54:15.910 INFO 57705 --- [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [productionMode] = [false]
2024-05-08 13:54:15.910 INFO 57705 --- [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [resourceCacheTime] = [3600]
2024-05-08 13:54:15.910 INFO 57705 --- [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [heartbeatInterval] = [300]
2024-05-08 13:54:15.910 INFO 57705 --- [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [closeIdleSessions] = [false]
2024-05-08 13:54:16.133 INFO 57705 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2024-05-08 13:54:16.236 INFO 57705 --- [ main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported)
2024-05-08 13:54:16.237 INFO 57705 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2024-05-08 13:54:16.255 INFO 57705 --- [ main] liquibase.database : Set default schema name to PUBLIC
2024-05-08 13:54:16.327 INFO 57705 --- [ main] liquibase.lockservice : Successfully acquired change log lock
2024-05-08 13:54:16.493 INFO 57705 --- [ main] liquibase.changelog : Reading resource: com/company/appjava16s/liquibase/changelog/010-init-user.xml
2024-05-08 13:54:16.528 INFO 57705 --- [ main] liquibase.changelog : Reading from PUBLIC.DATABASECHANGELOG
2024-05-08 13:54:16.570 INFO 57705 --- [ main] liquibase.lockservice : Successfully released change log lock
2024-05-08 13:54:16.610 INFO 57705 --- [ main] i.j.d.i.JmixBaseEntityManagerFactoryBean : Using persistence.xml at com/company/appjava16s/persistence.xml for 'main' store
2024-05-08 13:54:16.622 INFO 57705 --- [ main] o.s.o.j.p.PersistenceUnitReader : persistence.xml should be located inside META-INF directory; cannot determine persistence unit root URL for class path resource [com/company/appjava16s/persistence.xml]
2024-05-08 13:54:16.830 INFO 57705 --- [ main] i.j.d.impl.JmixEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'main'
2024-05-08 13:54:17.593 INFO 57705 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Or [Ant [pattern='/**']] with [org.springframework.security.web.session.DisableEncodeUrlFilter@3aa6fef3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@31429a0a, org.springframework.security.web.context.SecurityContextPersistenceFilter@5aefdd21, org.springframework.security.web.header.HeaderWriterFilter@fdc3482, org.springframework.security.web.authentication.logout.LogoutFilter@47f71f50, org.springframework.security.web.session.ConcurrentSessionFilter@74482fff, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@17240340, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@140bb54d, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@48d74bb4, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@119ec2e4, org.springframework.security.web.session.SessionManagementFilter@3ea4efd6, org.springframework.security.web.access.ExceptionTranslationFilter@6cd17c11, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3b69ad19]
2024-05-08 13:54:17.615 INFO 57705 --- [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Forwarding @SpringUI URLs from {/=org.springframework.web.servlet.mvc.ServletForwardingController@37d57240}
2024-05-08 13:54:17.857 INFO 57705 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2024-05-08 13:54:17.863 INFO 57705 --- [ main] io.jmix.ui.sys.WebJarResourceResolver : Loaded 378 WebJAR paths in 2 ms
2024-05-08 13:54:17.893 INFO 57705 --- [ main] c.c.appjava16s.Appjava16SApplication : Started Appjava16SApplication in 3.696 seconds (JVM running for 3.856)
2024-05-08 13:54:17.893 INFO 57705 --- [ main] c.c.appjava16s.Appjava16SApplication : Application started at http://localhost:8080
2024-05-08 15:31:18.469 INFO 31922 — [ main] c.c.s.JmixSupportticketApplication : Starting JmixSupportticketApplication using Java 19.0.2 on shivam with PID 31922 (/home/javauser/Desktop/jmix-supportticket/build/classes/java/main started by javauser in /home/javauser/Desktop/jmix-supportticket)
2024-05-08 15:31:18.474 INFO 31922 — [ main] c.c.s.JmixSupportticketApplication : No active profile set, falling back to 1 default profile: “default”
2024-05-08 15:31:20.595 INFO 31922 — [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Jmix repositories in DEFAULT mode.
2024-05-08 15:31:20.618 INFO 31922 — [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 0 Jmix repository interfaces.
2024-05-08 15:31:20.905 INFO 31922 — [ main] io.jmix.core.JmixModulesProcessor : Using Jmix modules: [io.jmix.core, io.jmix.security, io.jmix.ui, io.jmix.securityui, io.jmix.data, io.jmix.audit, io.jmix.auditui, io.jmix.dynattr, io.jmix.dynattrui, io.jmix.localfs, io.jmix.uidata, io.jmix.datatools, io.jmix.datatoolsui, io.jmix.eclipselink, io.jmix.securitydata, io.jmix.gridexportui, io.jmix.email, io.jmix.emailui, com.haulmont.cuba, com.company.support_ticket]
2024-05-08 15:31:20.911 INFO 31922 — [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition ‘com.vaadin.spring.VaadinConfiguration’ since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as ‘static’.
2024-05-08 15:31:22.372 INFO 31922 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2024-05-08 15:31:22.384 INFO 31922 — [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-05-08 15:31:22.384 INFO 31922 — [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.83]
2024-05-08 15:31:22.499 INFO 31922 — [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-05-08 15:31:22.499 INFO 31922 — [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3693 ms
2024-05-08 15:31:23.393 INFO 31922 — [ main] i.j.c.i.s.JmixModulesClasspathScanner : Classpath scan completed in 741 ms
2024-05-08 15:31:23.684 WARN 31922 — [ main] io.jmix.core.impl.MetaModelLoader : Method EntityPropertyDifferenceModel.getLabel is not included in metadata because property audit_EntityPropertyDifferenceModel.label already exists
2024-05-08 15:31:23.701 INFO 31922 — [ main] io.jmix.core.impl.MetadataLoader : Metadata initialized in 174 ms
2024-05-08 15:31:23.909 INFO 31922 — [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Servlet will be mapped to URLs [/vaadinServlet/, /VAADIN/]
2024-05-08 15:31:23.929 INFO 31922 — [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [productionMode] = [false]
2024-05-08 15:31:23.930 INFO 31922 — [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [resourceCacheTime] = [3600]
2024-05-08 15:31:23.930 INFO 31922 — [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [heartbeatInterval] = [300]
2024-05-08 15:31:23.930 INFO 31922 — [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Set servlet init parameter [closeIdleSessions] = [false]
2024-05-08 15:31:24.454 INFO 31922 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting…
2024-05-08 15:31:24.743 INFO 31922 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2024-05-08 15:31:24.902 INFO 31922 — [ main] liquibase.database : Set default schema name to public
2024-05-08 15:31:24.976 INFO 31922 — [ main] liquibase.lockservice : Successfully acquired change log lock
2024-05-08 15:31:25.520 INFO 31922 — [ main] liquibase.changelog : Reading resource: com/company/support_ticket/liquibase/changelog/010-init-user.xml
2024-05-08 15:31:25.526 INFO 31922 — [ main] liquibase.changelog : Reading resource: com/company/support_ticket/liquibase/changelog/2024/05/03-180710-69c6a65e.xml
2024-05-08 15:31:25.539 INFO 31922 — [ main] liquibase.changelog : Reading resource: com/company/support_ticket/liquibase/changelog/2024/05/03-185640-69c6a65e.xml
2024-05-08 15:31:25.547 INFO 31922 — [ main] liquibase.changelog : Reading resource: com/company/support_ticket/liquibase/changelog/2024/05/08-144516-69c6a65e.xml
2024-05-08 15:31:25.616 INFO 31922 — [ main] liquibase.changelog : Reading from public.databasechangelog
2024-05-08 15:31:26.029 INFO 31922 — [ main] liquibase.lockservice : Successfully released change log lock
2024-05-08 15:31:26.686 INFO 31922 — [ main] i.j.d.i.JmixBaseEntityManagerFactoryBean : Using persistence.xml at com/company/support_ticket/persistence.xml for ‘main’ store
2024-05-08 15:31:26.729 INFO 31922 — [ main] o.s.o.j.p.PersistenceUnitReader : persistence.xml should be located inside META-INF directory; cannot determine persistence unit root URL for class path resource [com/company/support_ticket/persistence.xml]
2024-05-08 15:31:28.033 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.034 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.051 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.051 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.058 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.058 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.078 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.079 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.088 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.089 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.096 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.096 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.116 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.116 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.117 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.118 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.118 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.118 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.121 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.121 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.123 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.123 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.123 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.124 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.125 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.125 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.128 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.128 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.132 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.132 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.134 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.134 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.135 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.135 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.136 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.136 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.144 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.144 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.146 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.146 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.146 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.146 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.146 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.147 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.148 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.148 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.148 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.148 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.187 WARN 31922 — [ main] eclipselink.logging.metadata : java.lang.IllegalArgumentException: Unsupported class file major version 63
2024-05-08 15:31:28.187 ERROR 31922 — [ main] eclipselink.logging.metadata : java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 0
2024-05-08 15:31:28.210 INFO 31922 — [ main] i.j.d.impl.JmixEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit ‘main’
2024-05-08 15:31:29.899 WARN 31922 — [ main] io.jmix.core.impl.MetaModelLoader : Method EntityPropertyDifferenceModel.getLabel is not included in metadata because property audit_EntityPropertyDifferenceModel.label already exists
2024-05-08 15:31:29.905 INFO 31922 — [ main] io.jmix.core.impl.MetadataLoader : Metadata initialized in 29 ms
2024-05-08 15:31:31.459 INFO 31922 — [ main] f.a.AutowiredAnnotationBeanPostProcessor : Autowired annotation should only be used on methods with parameters: protected void io.jmix.email.EmailerManagementFacade.setJavaMailProperties()
2024-05-08 15:31:32.081 INFO 31922 — [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure Or [Ant [pattern=’/**’]] with [org.springframework.security.web.session.DisableEncodeUrlFilter@8ac2af0, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5da20ab8, org.springframework.security.web.context.SecurityContextPersistenceFilter@210e8d34, org.springframework.security.web.header.HeaderWriterFilter@1580b67, org.springframework.security.web.authentication.logout.LogoutFilter@779cd92a, org.springframework.security.web.session.ConcurrentSessionFilter@56d61161, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2b47778c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@261c58d2, org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@7665dfff, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@423778db, org.springframework.security.web.session.SessionManagementFilter@69b47a8d, org.springframework.security.web.access.ExceptionTranslationFilter@31a78026, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@14ce43fe]
2024-05-08 15:31:32.112 INFO 31922 — [ main] i.j.a.u.v.JmixVaadinServletConfiguration : Forwarding @SpringUI URLs from {/=org.springframework.web.servlet.mvc.ServletForwardingController@34ffd74d}
2024-05-08 15:31:32.313 WARN 31922 — [ main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.check-template-location=false)
2024-05-08 15:31:33.231 WARN 31922 — [ main] org.atmosphere.util.IOUtils : More than one Servlet Mapping defined. WebSocket may not work org.apache.catalina.core.ApplicationServletRegistration@53340a2d
2024-05-08 15:31:33.302 INFO 31922 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ‘’
2024-05-08 15:31:33.314 INFO 31922 — [ main] io.jmix.ui.sys.WebJarResourceResolver : Loaded 378 WebJAR paths in 4 ms
2024-05-08 15:31:33.323 INFO 31922 — [ main] s.a.ScheduledAnnotationBeanPostProcessor : More than one TaskScheduler bean exists within the context, and none is named ‘taskScheduler’. Mark one of them as primary or name it ‘taskScheduler’ (possibly as an alias); or implement the SchedulingConfigurer interface and call ScheduledTaskRegistrar#setScheduler explicitly within the configureTasks() callback: [core_ThreadPoolTaskScheduler, ui_ThreadPoolTaskScheduler]
2024-05-08 15:31:33.376 INFO 31922 — [ main] c.c.s.JmixSupportticketApplication : Started JmixSupportticketApplication in 15.334 seconds (JVM running for 15.798)
2024-05-08 15:31:33.377 INFO 31922 — [ main] c.c.s.JmixSupportticketApplication : Application started at http://localhost:8080
2024-05-08 15:31:34.531 WARN 31922 — [nio-8080-exec-3] c.v.s.DefaultDeploymentConfiguration :
Vaadin is running in DEBUG MODE.
Add productionMode=true to web.xml to disable debug features.
To show debug window, add ?debug to your application URL.
2024-05-08 15:31:34.604 INFO 31922 — [nio-8080-exec-3] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet ‘dispatcherServlet’
2024-05-08 15:31:34.604 INFO 31922 — [nio-8080-exec-3] o.s.web.servlet.DispatcherServlet : Initializing Servlet ‘dispatcherServlet’
2024-05-08 15:31:34.607 INFO 31922 — [nio-8080-exec-3] o.s.web.servlet.DispatcherServlet : Completed initialization in 3 ms
2024-05-08 15:31:38.391 INFO 31922 — [pool-3-thread-1] eclipselink.logging.all : EclipseLink, version: Eclipse Persistence Services - 2.7.9.6-jmix
2024-05-08 15:31:43.323 WARN 31922 — [nio-8080-exec-2] org.atmosphere.util.IOUtils : More than one Servlet Mapping defined. WebSocket may not work org.apache.catalina.core.ApplicationServletRegistration@5d92b0fe
I see the following line:
Starting JmixSupportticketApplication using Java 19.0.2
Jmix 1.5 doesn’t support Java 19. Please use Java 17 or 11.
thank you