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 ?
`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.
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.