I have bitbucket running on windows server. It was running fine and after a restart i ot the below error and it wont start.
2018-06-25 15:01:26,860 WARN [https-jsse-nio-8443-exec-8] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet HttpRequestHandlerServlet [scmServlet] cannot be initialised to service an incoming request; redirecting to /unavailable
2018-06-25 15:01:28,563 WARN [spring-startup] o.s.w.c.s.XmlWebApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sharedHomeLockAcquirer' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'licenseHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseHelper' defined in URL [jar:file:/E:/Atlassian/Bitbucket/5.8.0/app/WEB-INF/lib/bitbucket-service-impl-5.8.0.jar!/com/atlassian/stash/internal/license/DefaultLicenseHelper.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by pvdcwgit01 (10.179.65.56) since 6/25/18 1:54 PM
2018-06-25 15:01:28,571 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on E:\Atlassian\ApplicationData\Bitbucket
2018-06-25 15:01:28,592 ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sharedHomeLockAcquirer' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'licenseHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseHelper' defined in URL [jar:file:/E:/Atlassian/Bitbucket/5.8.0/app/WEB-INF/lib/bitbucket-service-impl-5.8.0.jar!/com/atlassian/stash/internal/license/DefaultLicenseHelper.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by pvdcwgit01 (10.179.65.56) since 6/25/18 1:54 PM
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:667)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at java.lang.Thread.run(Thread.java:745)
... 18 frames trimmed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sharedHomeLockAcquirer' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'licenseHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseHelper' defined in URL [jar:file:/E:/Atlassian/Bitbucket/5.8.0/app/WEB-INF/lib/bitbucket-service-impl-5.8.0.jar!/com/atlassian/stash/internal/license/DefaultLicenseHelper.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by pvdcwgit01 (10.179.65.56) since 6/25/18 1:54 PM
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
... 5 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'licenseHelper' defined in URL [jar:file:/E:/Atlassian/Bitbucket/5.8.0/app/WEB-INF/lib/bitbucket-service-impl-5.8.0.jar!/com/atlassian/stash/internal/license/DefaultLicenseHelper.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by pvdcwgit01 (10.179.65.56) since 6/25/18 1:54 PM
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
... 5 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapLiquibase' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by pvdcwgit01 (10.179.65.56) since 6/25/18 1:54 PM
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
... 5 common frames omitted
Caused by: liquibase.exception.LockException: Could not acquire change log lock. Currently locked by pvdcwgit01 (10.179.65.56) since 6/25/18 1:54 PM
at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:190)
at liquibase.Liquibase.update(Liquibase.java:196)
at liquibase.Liquibase.update(Liquibase.java:192)
at liquibase.integration.spring.SpringLiquibase.performUpdate(SpringLiquibase.java:431)
at liquibase.database.ExtendedSpringLiquibase.afterPropertiesSet(ExtendedSpringLiquibase.java:32)
... 5 common frames omitted
2018-06-25 15:01:28,821 WARN [https-jsse-nio-8443-exec-8] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-06-25 15:01:28,822 WARN [https-jsse-nio-8443-exec-8] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
Hi @vmadaan,
From the log snippet, it looks like you are facing the problem described in this article:
- Bitbucket Server Does Not Start - Could not acquire change log lock
You'll find there the instructions to resolve it for each database type.
Cheers,
Caterina - Atlassian
Hi @Caterina Curti
I'm also facing same error, can please provide more information about the way it can be fixed. I gone through the resolution given in
https://confluence.atlassian.com/bitbucketserverkb/bitbucket-server-does-not-start-could-not-acquire-change-log-lock-779171307.html?_ga=2.127305668.850406909.1592303589-528389594.1590494093#
but it didnt help. I'm getting following error, when I followed steps for H2 Embedded Database
root@abhishek-ThinkPad-T490:/home/abhishek/Documents/dev/is-admin-merge-check# java -cp target/bitbucket/app/WEB-INF/lib/h2-1.3.176.jar org.h2.tools.Shell
Welcome to H2 Shell 1.3.176 (2014-04-05)
Exit with Ctrl+C
[Enter] jdbc:h2:~/test
URL jdbc:h2:file:///home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home/shared/data/db.h2.db;DB_CLOSE_ON_EXIT=TRUE
[Enter] org.h2.Driver
Driver
[Enter]
User sa
[Enter] Hide
Password
Password
Connected
Commands are case insensitive; SQL statements end with ';'
help or ? Display this help
list Toggle result list / stack trace mode
maxwidth Set maximum column width (default is 100)
autocommit Enable or disable autocommit
history Show the last 20 statements
quit or exit Close the connection and exit
sql> UPDATE databasechangeloglock SET LOCKED=false, LOCKGRANTED=null, LOCKEDBY=null where ID=1;
Error: org.h2.jdbc.JdbcSQLException: Table "DATABASECHANGELOGLOCK" not found; SQL statement:
atlassian-bitbucket.log is as follows
2020-06-17 19:24:34,184 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 12.957 seconds (JVM running for 14.365)
root@abhishek-ThinkPad-T490:/home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home/log# cat atlassian-bitbucket.log
2020-06-17 19:24:21,848 INFO [main] com.atlassian.stash.internal.project Switching to log level [WARN]
2020-06-17 19:24:21,854 INFO [main] c.a.stash.internal.scm.git.command Switching to log level [WARN]
2020-06-17 19:24:21,855 WARN [main] com.atlassian.plugin.util.WaitUntil Switching to log level [INFO]
2020-06-17 19:24:21,874 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.17.RELEASE)
2020-06-17 19:24:22,046 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on abhishek-ThinkPad-T490 with PID 97997 (/home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/app/WEB-INF/classes started by root in /home/abhishek/Documents/dev/is-admin-merge-check)
2020-06-17 19:24:22,046 INFO [main] c.a.b.i.b.BitbucketServerApplication No active profile set, falling back to default profiles: default
2020-06-17 19:24:23,045 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 5.16.0 (c03f0a7 built on Fri Nov 16 05:10:50 CET 2018)
2020-06-17 19:24:23,045 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Ubuntu OpenJDK 64-Bit Server VM 11.0.7+10-post-Ubuntu-3ubuntu1
2020-06-17 19:24:27,424 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home
2020-06-17 19:24:31,206 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home/shared
2020-06-17 19:24:32,871 WARN [spring-startup] com.hazelcast.instance.Node [172.17.0.1]:5701 [root] [3.7.4-atlassian-43] No join method is enabled! Starting standalone.
2020-06-17 19:24:34,099 WARN [spring-startup] o.s.w.c.s.XmlWebApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'sessionFactoryPrototype' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryPrototype' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
2020-06-17 19:24:34,107 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home/shared
2020-06-17 19:24:34,135 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home
2020-06-17 19:24:34,141 ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'sessionFactoryPrototype' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryPrototype' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:664)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at java.base/java.lang.Thread.run(Thread.java:834)
... 18 frames trimmed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'sessionFactoryPrototype' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryPrototype' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
... 5 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryPrototype' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
... 5 common frames omitted
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.hibernate.boot.spi.XmlMappingBinderAccess.<init>(XmlMappingBinderAccess.java:43)
at org.hibernate.boot.MetadataSources.<init>(MetadataSources.java:87)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.getMetadataSources(LocalSessionFactoryBean.java:364)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:399)
... 5 common frames omitted
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
... 9 common frames omitted
I'm stuck here from 2weeks, please check and let me the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm also facing same error, can please provide more information about the way it can be fixed. I gone through the resolution given in
but it didnt help. I'm getting following error, when I followed steps for H2 Embedded Database
root@abhishek-ThinkPad-T490:/home/abhishek/Documents/dev/is-admin-merge-check# java -cp target/bitbucket/app/WEB-INF/lib/h2-1.3.176.jar org.h2.tools.Shell
Welcome to H2 Shell 1.3.176 (2014-04-05)
Exit with Ctrl+C
[Enter] jdbc:h2:~/test
URL jdbc:h2:file:///home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home/shared/data/db.h2.db;DB_CLOSE_ON_EXIT=TRUE
[Enter] org.h2.Driver
Driver
[Enter]
User sa
[Enter] Hide
Password
Password
Connected
Commands are case insensitive; SQL statements end with ';'
help or ? Display this help
list Toggle result list / stack trace mode
maxwidth Set maximum column width (default is 100)
autocommit Enable or disable autocommit
history Show the last 20 statements
quit or exit Close the connection and exit
sql> UPDATE databasechangeloglock SET LOCKED=false, LOCKGRANTED=null, LOCKEDBY=null where ID=1;
Error: org.h2.jdbc.JdbcSQLException: Table "DATABASECHANGELOGLOCK" not found; SQL statement:
atlassian-bitbucket.log is as follows
2020-06-17 19:24:34,184 INFO [main] c.a.b.i.b.BitbucketServerApplication Started BitbucketServerApplication in 12.957 seconds (JVM running for 14.365)
root@abhishek-ThinkPad-T490:/home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home/log# cat atlassian-bitbucket.log
2020-06-17 19:24:21,848 INFO [main] com.atlassian.stash.internal.project Switching to log level [WARN]
2020-06-17 19:24:21,854 INFO [main] c.a.stash.internal.scm.git.command Switching to log level [WARN]
2020-06-17 19:24:21,855 WARN [main] com.atlassian.plugin.util.WaitUntil Switching to log level [INFO]
2020-06-17 19:24:21,874 INFO [main] o.s.boot.SpringApplication
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.17.RELEASE)
2020-06-17 19:24:22,046 INFO [main] c.a.b.i.b.BitbucketServerApplication Starting BitbucketServerApplication on abhishek-ThinkPad-T490 with PID 97997 (/home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/app/WEB-INF/classes started by root in /home/abhishek/Documents/dev/is-admin-merge-check)
2020-06-17 19:24:22,046 INFO [main] c.a.b.i.b.BitbucketServerApplication No active profile set, falling back to default profiles: default
2020-06-17 19:24:23,045 INFO [main] c.a.b.i.boot.log.BuildInfoLogger Starting Bitbucket 5.16.0 (c03f0a7 built on Fri Nov 16 05:10:50 CET 2018)
2020-06-17 19:24:23,045 INFO [main] c.a.b.i.boot.log.BuildInfoLogger JVM: Ubuntu OpenJDK 64-Bit Server VM 11.0.7+10-post-Ubuntu-3ubuntu1
2020-06-17 19:24:27,424 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home
2020-06-17 19:24:31,206 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home/shared
2020-06-17 19:24:32,871 WARN [spring-startup] com.hazelcast.instance.Node [172.17.0.1]:5701 [root] [3.7.4-atlassian-43] No join method is enabled! Starting standalone.
2020-06-17 19:24:34,099 WARN [spring-startup] o.s.w.c.s.XmlWebApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'sessionFactoryPrototype' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryPrototype' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
2020-06-17 19:24:34,107 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home/shared
2020-06-17 19:24:34,135 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /home/abhishek/Documents/dev/is-admin-merge-check/target/bitbucket/home
2020-06-17 19:24:34,141 ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'crowdAliasDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'sessionFactoryPrototype' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryPrototype' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:664)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at java.base/java.lang.Thread.run(Thread.java:834)
... 18 frames trimmed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [stash-context.xml]: Cannot resolve reference to bean 'sessionFactoryPrototype' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryPrototype' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
... 5 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryPrototype' defined in class path resource [stash-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
... 5 common frames omitted
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.hibernate.boot.spi.XmlMappingBinderAccess.<init>(XmlMappingBinderAccess.java:43)
at org.hibernate.boot.MetadataSources.<init>(MetadataSources.java:87)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.getMetadataSources(LocalSessionFactoryBean.java:364)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:399)
... 5 common frames omitted
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
... 9 common frames omitted
I'm stuck here from 2weeks, please check and let me the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.