stashbot plugin

I was trying to install it on stash version 3.5.1 but with no luck.in the logs I see this :


org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.palantir.stash.stashbot.outputhandler.Comm
andOutputHandlerFactory] for bean with name 'commandOutputHandlerFactory' defined in URL [bundle://91.0:0/META-INF/spring/atlassian
-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: c
om/palantir/stash/stashbot/outputhandler/CommandOutputHandlerFactory : Unsupported major.minor version 52.0
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1144) ~[spring-2
.5.6.SEC03-atlassian-6.jar:4.1.1.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContex
t.java:728) ~[AbstractApplicationContext.class:4.1.1.RELEASE]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
... 10 frames trimmed
Caused by: java.lang.UnsupportedClassVersionError: com/palantir/stash/stashbot/outputhandler/CommandOutputHandlerFactory : Unsuppor
ted major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_51]
at org.springframework.util.ClassUtils.forName(ClassUtils.java:211) ~[spring-2.5.6.SEC03-atlassian-6.jar:4.1.1.RELEASE]
... 4 common frames omitted
2015-03-09 14:09:06,483 WARN [spring-startup] c.a.s.i.p.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/
servlet/ in bundle com.atlassian.oauth.atlassian-oauth-service-provider-plugin as it does not exist
2015-03-09 14:09:11,074 WARN [spring-startup] c.a.s.i.p.StaticPluginPathScanner Cannot scan directory /static/feature/tasks/icons
/ in web static as it does not exist
2015-03-09 14:09:12,399 INFO [spring-startup] c.a.s.internal.scm.PluginScmService Stash is using /usr/bin/git version 1.7.9.6
2015-03-09 14:09:13,521 INFO [spring-startup] c.a.s.internal.ssh.server.SshServer Starting SSH server on port 7999...
2015-03-09 14:09:13,635 INFO [spring-startup] c.a.s.internal.ssh.server.SshServer Started SSH server successfully.
2015-03-09 14:09:13,756 INFO [spring-startup] c.a.s.i.hazelcast.HazelcastLifecycle Updating Hazelcast instance capabilities
2015-03-09 14:10:20,147 ERROR [http-nio-7990-exec-9] romanog @1PP1FUKx850x120x0 1gl0z5h 16.60.202.199 "PUT /rest/plugins/1.0/com.pa
lantir.stash.stashbot-key HTTP/1.1" c.a.p.manager.DefaultPluginManager There was an error loading the descriptor 'Repository Admini
stration Servlet' of plugin 'com.palantir.stash.stashbot'. Disabling.
java.lang.UnsupportedClassVersionError: com/palantir/stash/stashbot/admin/RepoConfigurationServlet : Unsupported major.minor versio
n 52.0

 

 

any idea why it failed ?

 

1 answer

This widget could not be displayed.

`Unsupported major.minor version 52.0` means the class was compiled with JDK8, but you're running on JRE7 or older. The Stashbot README mentions Stash dropping support for Java 7 with version 3.5, so upgrading should take care of the issue.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

508 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you