Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
пт, 24 мар. 2023 г. в 03:47, Kevin Huntly : > > Object > of type [class jakarta.mail.Session] available at JNDI location > [java:comp/env/mail/MailSession] is not assignable to [jakarta.mail.Session] Apparently you have two copies of a "jakarta.mail.Session" class, loaded by different classloaders

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Kevin Huntly
WARN ] - [File: AbstractApplicationContext.java:591] - Exception > > > encountered during context initialization - cancelling refresh attempt: > > > org.springframework.beans.factory.BeanCreationException: Error creating > > > bean with name 'mailSession': Invocatio

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
empt: > > org.springframework.beans.factory.BeanCreationException: Error creating > > bean with name 'mailSession': Invocation of init method failed; nested > > exception is javax.naming.NamingException: Could not create resource > > instance > > [Time:

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
ilSession': Invocation of init method failed; nested > exception is javax.naming.NamingException: Could not create resource > instance > [Time: 23 Mar 2023 11:31:44,139][Thread: main][Log: > org.springframework.web.servlet.DispatcherServlet][Level: ERROR] - [File:

javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Kevin Huntly
x27;mailSession': Invocation of init method failed; nested exception is javax.naming.NamingException: Could not create resource instance at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) ~[spr