Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to solve this error?

limin feng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 18, 2023

jiras-bitbucket-1 | 2023-10-18 16:26:05,321 WARN [spring-startup] o.s.w.c.s.XmlWebApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeResolver' defined in URL [jar:file:/opt/atlassian/bitbucket/app/WEB-INF/lib/bitbucket-platform-8.4.4.jar!/com/atlassian/stash/internal/plugin/SimpleContentTypeResolver.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.stash.internal.plugin.SimpleContentTypeResolver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
jiras-bitbucket-1 | 2023-10-18 16:26:06,037 INFO [spring-startup] c.a.s.i.s.g.m.DefaultSidecarManager Sidecar has stopped (Exit code: 0)
jiras-bitbucket-1 | 2023-10-18 16:26:06,102 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /var/atlassian/application-data/bitbucket/shared
jiras-bitbucket-1 | 2023-10-18 16:26:06,700 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Releasing lock on /var/atlassian/application-data/bitbucket
jiras-bitbucket-1 | 2023-10-18 16:26:06,705 ERROR [spring-startup] c.a.j.s.w.s.JohnsonDispatcherServlet SpringMVC dispatcher [springMvc] could not be started
jiras-bitbucket-1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeResolver' defined in URL [jar:file:/opt/atlassian/bitbucket/app/WEB-INF/lib/bitbucket-platform-8.4.4.jar!/com/atlassian/stash/internal/plugin/SimpleContentTypeResolver.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.stash.internal.plugin.SimpleContentTypeResolver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
jiras-bitbucket-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334)
jiras-bitbucket-1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
jiras-bitbucket-1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
jiras-bitbucket-1 | at javax.servlet.GenericServlet.init(GenericServlet.java:158)
jiras-bitbucket-1 | at java.base/java.lang.Thread.run(Thread.java:829)
jiras-bitbucket-1 | ... 16 frames trimmed
jiras-bitbucket-1 | Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.stash.internal.plugin.SimpleContentTypeResolver]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
jiras-bitbucket-1 | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:224)
jiras-bitbucket-1 | ... 5 common frames omitted
jiras-bitbucket-1 | Caused by: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
jiras-bitbucket-1 | at javax.activation.MimetypesFileTypeMap.<init>(MimetypesFileTypeMap.java:130)
jiras-bitbucket-1 | at javax.activation.MimetypesFileTypeMap.<init>(MimetypesFileTypeMap.java:301)
jiras-bitbucket-1 | at com.atlassian.stash.internal.plugin.SimpleContentTypeResolver.<init>(SimpleContentTypeResolver.java:25)
jiras-bitbucket-1 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
jiras-bitbucket-1 | at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
jiras-bitbucket-1 | at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
jiras-bitbucket-1 | at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211)
jiras-bitbucket-1 | ... 5 common frames omitted
jiras-bitbucket-1 | Caused by: java.lang.ClassNotFoundException: com.sun.activation.registries.LogSupport
jiras-bitbucket-1 | at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
jiras-bitbucket-1 | at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
jiras-bitbucket-1 | ... 12 common frames omitted

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 08, 2023

Please add app

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events