Mac OS X java -jar sagan-site.jar fails with Exception after I build success with gradlew build #612

Closed
Comee opened this Issue Dec 24, 2015 · 18 comments

Comments

Projects
None yet
5 participants
@Comee

Comee commented Dec 24, 2015

Note: branch[master]
Below is the full log:

ShaoxueerdeMac:libs comee$ ls
sagan-site.jar
ShaoxueerdeMac:libs comee$ java -jar sagan-site.jar 

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.3.0.RELEASE)

2015-12-24 08:59:29.076  INFO 11241 --- [           main] sagan.SiteApplication                    : Starting SiteApplication on ShaoxueerdeMac.local with PID 11241 (/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar started by comee in /Users/comee/IdeaProjects/sagan/sagan-site/build/libs)
2015-12-24 08:59:29.080  INFO 11241 --- [           main] sagan.SiteApplication                    : The following profiles are active: standalone
2015-12-24 08:59:30.778  WARN 11241 --- [           main] .i.s.PathMatchingResourcePatternResolver : Skipping [/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-3e23104e-be57-44f6-ab6f-529c308f455a/jruby-complete-1.7.16.1.jar] because it does not denote a directory
2015-12-24 08:59:42.598  INFO 11241 --- [ost-startStop-1] b.a.s.AuthenticationManagerConfiguration : 

Using default security password: 59fad4f8-7be6-4dd2-864d-b65a422f13b5

2015-12-24 08:59:43.464  WARN 11241 --- [           main] sagan.support.github.GitHubConfig        : GitHub API access will be rate-limited at 60 req/hour
2015-12-24 08:59:47.681  WARN 11241 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
2015-12-24 08:59:47.716  WARN 11241 --- [           main] sagan.SaganApplication                   : Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.annotation.ProxyCachingConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' is defined)
2015-12-24 08:59:47.730 ERROR 11241 --- [           main] sagan.SaganApplication                   : Application startup failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838) ~[spring-context-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537) ~[spring-context-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:295) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at sagan.SiteApplication.main(SiteApplication.java:45) [sagan-site.jar!/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [sagan-site.jar!/:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 23 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 37 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 50 common frames omitted
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) ~[jruby-complete-1.7.16.1.jar:na]
    at RUBY.require(/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-3e23104e-be57-44f6-ab6f-529c308f455a/jruby-complete-1.7.16.1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na]
    at RUBY.(root)(<script>:9) ~[na:na]

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:295)
    at sagan.SiteApplication.main(SiteApplication.java:45)
    ... 6 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    ... 23 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    ... 37 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
    ... 50 more
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065)
    at RUBY.require(/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-3e23104e-be57-44f6-ab6f-529c308f455a/jruby-complete-1.7.16.1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55)
    at RUBY.(root)(<script>:9)
ShaoxueerdeMac:libs comee$ 
@bclozel

This comment has been minimized.

Show comment
Hide comment
@bclozel

bclozel Dec 28, 2015

Member

Ouch. This looks like #191 all over again.
Which Java version/platform are you using? The output of ./gradlew --version would be great actually.

Member

bclozel commented Dec 28, 2015

Ouch. This looks like #191 all over again.
Which Java version/platform are you using? The output of ./gradlew --version would be great actually.

@Comee

This comment has been minimized.

Show comment
Hide comment
@Comee

Comee Dec 29, 2015

Thanks for your attention, below is the version information:

ShaoxueerdeMac:IdeaProjects comee$ git clone git@github.com:spring-io/sagan.git
Cloning into 'sagan'...
remote: Counting objects: 32741, done.
remote: Total 32741 (delta 0), reused 0 (delta 0), pack-reused 32741
Receiving objects: 100% (32741/32741), 21.92 MiB | 1.87 MiB/s, done.
Resolving deltas: 100% (14093/14093), done.
Checking connectivity... done.
ShaoxueerdeMac:IdeaProjects comee$ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
ShaoxueerdeMac:IdeaProjects comee$ javac -version
javac 1.8.0_60
ShaoxueerdeMac:IdeaProjects comee$ gradle -v

------------------------------------------------------------
Gradle 2.10
------------------------------------------------------------

Build time:   2015-12-21 21:15:04 UTC
Build number: none
Revision:     276bdcded730f53aa8c11b479986aafa58e124a6

Groovy:       2.4.4
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_60 (Oracle Corporation 25.60-b23)
OS:           Mac OS X 10.11.2 x86_64

Below is the build information

ShaoxueerdeMac:sagan comee$ ./gradlew build
:sagan-client:compileJava UP-TO-DATE
:sagan-client:processResources UP-TO-DATE
:sagan-client:classes UP-TO-DATE
:sagan-client:nodeSetup UP-TO-DATE
:sagan-client:npmSetup UP-TO-DATE
:sagan-client:npmInstall UP-TO-DATE
:sagan-client:npmBuild

> sagan@ build /Users/comee/IdeaProjects/sagan/sagan-client
> gulp build

[gulp] Using gulpfile /Users/comee/IdeaProjects/sagan/sagan-client/gulpfile.js
[gulp] Starting 'minify-css'...
[gulp] Starting 'build-modules'...
[gulp] Starting 'copy-assets'...
[gulp] Starting 'bower-files'...
warning: grokking "src/run.js": Did not inspect code inside `.then()` callback(s).
`appRoot` is inferred to be "src"
`baseUrl` resolved to "/Users/comee/IdeaProjects/sagan/sagan-client/src/"
`output` resolved to "/Users/comee/IdeaProjects/sagan/sagan-client/.gulpcram.js"
Compiling preloads
Compiling poly/es5
Compiling poly/object
Compiling poly/string
Compiling poly/date
Compiling poly/array
Compiling poly/function
Compiling poly/json
Compiling poly/xhr
[gulp] Finished 'minify-css' after 1.45 s
[gulp] Finished 'copy-assets' after 1.46 s
Error caught from uglify: Unexpected character '#' in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/build/release-notes.js. Returning unminifed code
Error caught from uglify: Unexpected character '#' in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/build/release.js. Returning unminifed code
Error caught from uglify: Unexpected token: eof (undefined) in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/src/intro.js. Returning unminifed code
Error caught from uglify: Unexpected token: punc (}) in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/src/outro.js. Returning unminifed code
Error caught from uglify: Unexpected token: punc (:) in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/test/data/json_obj.js. Returning unminifed code
Compiling poly/lib/_base
Compiling poly/lib/_base
Compiling poly/lib/_base
Compiling poly/lib/_base
Compiling poly/lib/_array
Compiling poly/support/json3
Compiling poly/lib/_base
Compiling poly/lib/_base
[gulp] Finished 'bower-files' after 11 s
Compiling modules
Compiling app/main
Compiling jquery
Compiling curl/loader/legacy
Compiling curl/loader/cjsm11
Compiling feature/search/main
Compiling feature/searchFacets/main
Compiling feature/filterableList/main
Compiling feature/clipboardButtons/main
Compiling feature/codeSidebar/main
Compiling feature/stsImport/main
Compiling feature/mobileSupport/main
Compiling feature/infoPopups/main
Compiling feature/platformDownloads/main
Compiling feature/formWidgets/main
Compiling feature/prettify/main
Compiling feature/map/main
Compiling feature/timeAgo/main
Compiling feature/hide-show-guide/main
Compiling feature/heroBanner/main
Compiling most/most
Compiling jquery
Excluded curl/_privileged
Compiling curl/plugin/_fetchText
Excluded curl/_privileged
Compiling feature/search/SearchController
Compiling jquery
Compiling jquery
Compiling feature/searchFacets/filterForm
Compiling feature/filterableList/filterableList
Compiling feature/filterableList/getUrlFilter
Compiling jquery
Compiling ZeroClipboard
Compiling feature/clipboardButtons/buttonConnector
Compiling feature/clipboardButtons/copyButtonProvider
Compiling curl/plugin/text!./button.html
Compiling jquery
Compiling bootstrap
Compiling jquery
Compiling jquery
Compiling jquery
Compiling jquery
Compiling jquery
Compiling platform/os
Compiling jquery
Compiling bootstrap-datetimepicker
Compiling jquery
Compiling google-code-prettify
Compiling jquery
Compiling jquery
Compiling timeago
Compiling jquery
Compiling feature/hide-show-guide/storage
Compiling jquery
Compiling most/Stream
Compiling most/async
Compiling jquery
Compiling feature/filterableList/filter
Compiling feature/filterableList/attributeMatcher
Compiling jquery
Compiling jquery
Compiling bootstrap
Compiling most/async
Compiling jquery
Compiling jquery
Writing prefix
Linking
Bundle written to /Users/comee/IdeaProjects/sagan/sagan-client/.gulpcram.js
[gulp] Finished 'build-modules' after 14 s
[gulp] Starting 'build'...
[gulp] Finished 'build' after 9.63 μs
:sagan-client:jar
:sagan-client:assemble
:sagan-client:compileTestJava UP-TO-DATE
:sagan-client:processTestResources UP-TO-DATE
:sagan-client:testClasses UP-TO-DATE
:sagan-client:test UP-TO-DATE
:sagan-client:check UP-TO-DATE
:sagan-client:build
:sagan-common:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-common:processResources
:sagan-common:classes
:sagan-common:jar
:sagan-common:assemble
:sagan-common:compileTestUtilJava
Note: /Users/comee/IdeaProjects/sagan/sagan-common/src/test-util/java/sagan/search/support/SearchIndexSetup.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-common:processTestUtilResources
:sagan-common:testUtilClasses
:sagan-common:compileTestJava
Note: /Users/comee/IdeaProjects/sagan/sagan-common/src/test/java/sagan/blog/PostTests.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:sagan-common:processTestResources
:sagan-common:testClasses
:sagan-common:test
:sagan-common:check
:sagan-common:build
:sagan-site:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-site:processResources
:sagan-site:classes
:sagan-site:findMainClass
:gitMetadata
:sagan-site:writeGitPropertiesFile
:sagan-site:jar
:sagan-site:bootRepackage
:sagan-site:assemble
:sagan-site:compileTestJava
Note: /Users/comee/IdeaProjects/sagan/sagan-site/src/test/java/sagan/blog/support/PostViewTests.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-site:processTestResources
:sagan-site:testClasses
:sagan-site:test
:sagan-indexer:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-indexer:copyStaticTemplates
:sagan-indexer:processResources
:sagan-indexer:classes
:sagan-indexer:compileTestJava
:sagan-indexer:processTestResources
:sagan-indexer:testClasses
:sagan-indexer:test
:sagan-site:compileIntegTestJava
Note: /Users/comee/IdeaProjects/sagan/sagan-site/src/it/java/sagan/team/support/EditTeamMemberTests.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:sagan-site:processIntegTestResources UP-TO-DATE
:sagan-site:integTestClasses
:sagan-site:integTest
:sagan-site:check
:sagan-site:build
:sagan-indexer:findMainClass
:sagan-indexer:writeGitPropertiesFile
:sagan-indexer:jar
:sagan-indexer:bootRepackage
:sagan-indexer:assemble
:sagan-indexer:compileIntegTestJava
:sagan-indexer:processIntegTestResources UP-TO-DATE
:sagan-indexer:integTestClasses
:sagan-indexer:integTest
:sagan-indexer:check
:sagan-indexer:build

BUILD SUCCESSFUL

Total time: 2 mins 27.413 secs

This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.8/userguide/gradle_daemon.html
ShaoxueerdeMac:sagan comee$ 

Below is the java -jar sagan-site.jar information

ShaoxueerdeMac:sagan comee$ ls
CONTRIBUTING.md NOTICE.txt  build.gradle    gradlew     sagan-client    sagan-indexer   settings.gradle util
LICENSE.md  README.md   gradle      gradlew.bat sagan-common    sagan-site  style       wiki
ShaoxueerdeMac:sagan comee$ cd sagan-site/
ShaoxueerdeMac:sagan-site comee$ ls
build       build.gradle    data        src
ShaoxueerdeMac:sagan-site comee$ cd build
ShaoxueerdeMac:build comee$ ls
classes         integTest-results   reports         test-results
dependency-cache    libs            resources       tmp
ShaoxueerdeMac:build comee$ cd libs
ShaoxueerdeMac:libs comee$ ls
sagan-site.jar
ShaoxueerdeMac:libs comee$ java -jar sagan-site.jar 

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.3.0.RELEASE)

2015-12-29 10:07:30.609  INFO 2487 --- [           main] sagan.SiteApplication                    : Starting SiteApplication on ShaoxueerdeMac.local with PID 2487 (/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar started by comee in /Users/comee/IdeaProjects/sagan/sagan-site/build/libs)
2015-12-29 10:07:30.613  INFO 2487 --- [           main] sagan.SiteApplication                    : The following profiles are active: standalone
2015-12-29 10:07:32.217  WARN 2487 --- [           main] .i.s.PathMatchingResourcePatternResolver : Skipping [/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-555df144-1dc2-471e-adb0-127c9e27cc26/jruby-complete-1.7.16.1.jar] because it does not denote a directory
2015-12-29 10:07:44.835  INFO 2487 --- [ost-startStop-1] b.a.s.AuthenticationManagerConfiguration : 

Using default security password: 7e0f649e-a18c-4cb7-85e5-d8b1696d11ea

2015-12-29 10:07:45.753  WARN 2487 --- [           main] sagan.support.github.GitHubConfig        : GitHub API access will be rate-limited at 60 req/hour
2015-12-29 10:07:49.647  WARN 2487 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
2015-12-29 10:07:49.692  WARN 2487 --- [           main] sagan.SaganApplication                   : Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.annotation.ProxyCachingConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' is defined)
2015-12-29 10:07:49.707 ERROR 2487 --- [           main] sagan.SaganApplication                   : Application startup failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838) ~[spring-context-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537) ~[spring-context-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:295) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at sagan.SiteApplication.main(SiteApplication.java:45) [sagan-site.jar!/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [sagan-site.jar!/:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 23 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 37 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 50 common frames omitted
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) ~[jruby-complete-1.7.16.1.jar:na]
    at RUBY.require(/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-555df144-1dc2-471e-adb0-127c9e27cc26/jruby-complete-1.7.16.1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na]
    at RUBY.(root)(<script>:9) ~[na:na]

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:295)
    at sagan.SiteApplication.main(SiteApplication.java:45)
    ... 6 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    ... 23 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    ... 37 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
    ... 50 more
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065)
    at RUBY.require(/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-555df144-1dc2-471e-adb0-127c9e27cc26/jruby-complete-1.7.16.1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55)
    at RUBY.(root)(<script>:9)
ShaoxueerdeMac:libs comee$ 

Comee commented Dec 29, 2015

Thanks for your attention, below is the version information:

ShaoxueerdeMac:IdeaProjects comee$ git clone git@github.com:spring-io/sagan.git
Cloning into 'sagan'...
remote: Counting objects: 32741, done.
remote: Total 32741 (delta 0), reused 0 (delta 0), pack-reused 32741
Receiving objects: 100% (32741/32741), 21.92 MiB | 1.87 MiB/s, done.
Resolving deltas: 100% (14093/14093), done.
Checking connectivity... done.
ShaoxueerdeMac:IdeaProjects comee$ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
ShaoxueerdeMac:IdeaProjects comee$ javac -version
javac 1.8.0_60
ShaoxueerdeMac:IdeaProjects comee$ gradle -v

------------------------------------------------------------
Gradle 2.10
------------------------------------------------------------

Build time:   2015-12-21 21:15:04 UTC
Build number: none
Revision:     276bdcded730f53aa8c11b479986aafa58e124a6

Groovy:       2.4.4
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_60 (Oracle Corporation 25.60-b23)
OS:           Mac OS X 10.11.2 x86_64

Below is the build information

ShaoxueerdeMac:sagan comee$ ./gradlew build
:sagan-client:compileJava UP-TO-DATE
:sagan-client:processResources UP-TO-DATE
:sagan-client:classes UP-TO-DATE
:sagan-client:nodeSetup UP-TO-DATE
:sagan-client:npmSetup UP-TO-DATE
:sagan-client:npmInstall UP-TO-DATE
:sagan-client:npmBuild

> sagan@ build /Users/comee/IdeaProjects/sagan/sagan-client
> gulp build

[gulp] Using gulpfile /Users/comee/IdeaProjects/sagan/sagan-client/gulpfile.js
[gulp] Starting 'minify-css'...
[gulp] Starting 'build-modules'...
[gulp] Starting 'copy-assets'...
[gulp] Starting 'bower-files'...
warning: grokking "src/run.js": Did not inspect code inside `.then()` callback(s).
`appRoot` is inferred to be "src"
`baseUrl` resolved to "/Users/comee/IdeaProjects/sagan/sagan-client/src/"
`output` resolved to "/Users/comee/IdeaProjects/sagan/sagan-client/.gulpcram.js"
Compiling preloads
Compiling poly/es5
Compiling poly/object
Compiling poly/string
Compiling poly/date
Compiling poly/array
Compiling poly/function
Compiling poly/json
Compiling poly/xhr
[gulp] Finished 'minify-css' after 1.45 s
[gulp] Finished 'copy-assets' after 1.46 s
Error caught from uglify: Unexpected character '#' in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/build/release-notes.js. Returning unminifed code
Error caught from uglify: Unexpected character '#' in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/build/release.js. Returning unminifed code
Error caught from uglify: Unexpected token: eof (undefined) in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/src/intro.js. Returning unminifed code
Error caught from uglify: Unexpected token: punc (}) in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/src/outro.js. Returning unminifed code
Error caught from uglify: Unexpected token: punc (:) in /Users/comee/IdeaProjects/sagan/sagan-client/src/lib/jquery/test/data/json_obj.js. Returning unminifed code
Compiling poly/lib/_base
Compiling poly/lib/_base
Compiling poly/lib/_base
Compiling poly/lib/_base
Compiling poly/lib/_array
Compiling poly/support/json3
Compiling poly/lib/_base
Compiling poly/lib/_base
[gulp] Finished 'bower-files' after 11 s
Compiling modules
Compiling app/main
Compiling jquery
Compiling curl/loader/legacy
Compiling curl/loader/cjsm11
Compiling feature/search/main
Compiling feature/searchFacets/main
Compiling feature/filterableList/main
Compiling feature/clipboardButtons/main
Compiling feature/codeSidebar/main
Compiling feature/stsImport/main
Compiling feature/mobileSupport/main
Compiling feature/infoPopups/main
Compiling feature/platformDownloads/main
Compiling feature/formWidgets/main
Compiling feature/prettify/main
Compiling feature/map/main
Compiling feature/timeAgo/main
Compiling feature/hide-show-guide/main
Compiling feature/heroBanner/main
Compiling most/most
Compiling jquery
Excluded curl/_privileged
Compiling curl/plugin/_fetchText
Excluded curl/_privileged
Compiling feature/search/SearchController
Compiling jquery
Compiling jquery
Compiling feature/searchFacets/filterForm
Compiling feature/filterableList/filterableList
Compiling feature/filterableList/getUrlFilter
Compiling jquery
Compiling ZeroClipboard
Compiling feature/clipboardButtons/buttonConnector
Compiling feature/clipboardButtons/copyButtonProvider
Compiling curl/plugin/text!./button.html
Compiling jquery
Compiling bootstrap
Compiling jquery
Compiling jquery
Compiling jquery
Compiling jquery
Compiling jquery
Compiling platform/os
Compiling jquery
Compiling bootstrap-datetimepicker
Compiling jquery
Compiling google-code-prettify
Compiling jquery
Compiling jquery
Compiling timeago
Compiling jquery
Compiling feature/hide-show-guide/storage
Compiling jquery
Compiling most/Stream
Compiling most/async
Compiling jquery
Compiling feature/filterableList/filter
Compiling feature/filterableList/attributeMatcher
Compiling jquery
Compiling jquery
Compiling bootstrap
Compiling most/async
Compiling jquery
Compiling jquery
Writing prefix
Linking
Bundle written to /Users/comee/IdeaProjects/sagan/sagan-client/.gulpcram.js
[gulp] Finished 'build-modules' after 14 s
[gulp] Starting 'build'...
[gulp] Finished 'build' after 9.63 μs
:sagan-client:jar
:sagan-client:assemble
:sagan-client:compileTestJava UP-TO-DATE
:sagan-client:processTestResources UP-TO-DATE
:sagan-client:testClasses UP-TO-DATE
:sagan-client:test UP-TO-DATE
:sagan-client:check UP-TO-DATE
:sagan-client:build
:sagan-common:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-common:processResources
:sagan-common:classes
:sagan-common:jar
:sagan-common:assemble
:sagan-common:compileTestUtilJava
Note: /Users/comee/IdeaProjects/sagan/sagan-common/src/test-util/java/sagan/search/support/SearchIndexSetup.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-common:processTestUtilResources
:sagan-common:testUtilClasses
:sagan-common:compileTestJava
Note: /Users/comee/IdeaProjects/sagan/sagan-common/src/test/java/sagan/blog/PostTests.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:sagan-common:processTestResources
:sagan-common:testClasses
:sagan-common:test
:sagan-common:check
:sagan-common:build
:sagan-site:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-site:processResources
:sagan-site:classes
:sagan-site:findMainClass
:gitMetadata
:sagan-site:writeGitPropertiesFile
:sagan-site:jar
:sagan-site:bootRepackage
:sagan-site:assemble
:sagan-site:compileTestJava
Note: /Users/comee/IdeaProjects/sagan/sagan-site/src/test/java/sagan/blog/support/PostViewTests.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-site:processTestResources
:sagan-site:testClasses
:sagan-site:test
:sagan-indexer:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:sagan-indexer:copyStaticTemplates
:sagan-indexer:processResources
:sagan-indexer:classes
:sagan-indexer:compileTestJava
:sagan-indexer:processTestResources
:sagan-indexer:testClasses
:sagan-indexer:test
:sagan-site:compileIntegTestJava
Note: /Users/comee/IdeaProjects/sagan/sagan-site/src/it/java/sagan/team/support/EditTeamMemberTests.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:sagan-site:processIntegTestResources UP-TO-DATE
:sagan-site:integTestClasses
:sagan-site:integTest
:sagan-site:check
:sagan-site:build
:sagan-indexer:findMainClass
:sagan-indexer:writeGitPropertiesFile
:sagan-indexer:jar
:sagan-indexer:bootRepackage
:sagan-indexer:assemble
:sagan-indexer:compileIntegTestJava
:sagan-indexer:processIntegTestResources UP-TO-DATE
:sagan-indexer:integTestClasses
:sagan-indexer:integTest
:sagan-indexer:check
:sagan-indexer:build

BUILD SUCCESSFUL

Total time: 2 mins 27.413 secs

This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.8/userguide/gradle_daemon.html
ShaoxueerdeMac:sagan comee$ 

Below is the java -jar sagan-site.jar information

ShaoxueerdeMac:sagan comee$ ls
CONTRIBUTING.md NOTICE.txt  build.gradle    gradlew     sagan-client    sagan-indexer   settings.gradle util
LICENSE.md  README.md   gradle      gradlew.bat sagan-common    sagan-site  style       wiki
ShaoxueerdeMac:sagan comee$ cd sagan-site/
ShaoxueerdeMac:sagan-site comee$ ls
build       build.gradle    data        src
ShaoxueerdeMac:sagan-site comee$ cd build
ShaoxueerdeMac:build comee$ ls
classes         integTest-results   reports         test-results
dependency-cache    libs            resources       tmp
ShaoxueerdeMac:build comee$ cd libs
ShaoxueerdeMac:libs comee$ ls
sagan-site.jar
ShaoxueerdeMac:libs comee$ java -jar sagan-site.jar 

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.3.0.RELEASE)

2015-12-29 10:07:30.609  INFO 2487 --- [           main] sagan.SiteApplication                    : Starting SiteApplication on ShaoxueerdeMac.local with PID 2487 (/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar started by comee in /Users/comee/IdeaProjects/sagan/sagan-site/build/libs)
2015-12-29 10:07:30.613  INFO 2487 --- [           main] sagan.SiteApplication                    : The following profiles are active: standalone
2015-12-29 10:07:32.217  WARN 2487 --- [           main] .i.s.PathMatchingResourcePatternResolver : Skipping [/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-555df144-1dc2-471e-adb0-127c9e27cc26/jruby-complete-1.7.16.1.jar] because it does not denote a directory
2015-12-29 10:07:44.835  INFO 2487 --- [ost-startStop-1] b.a.s.AuthenticationManagerConfiguration : 

Using default security password: 7e0f649e-a18c-4cb7-85e5-d8b1696d11ea

2015-12-29 10:07:45.753  WARN 2487 --- [           main] sagan.support.github.GitHubConfig        : GitHub API access will be rate-limited at 60 req/hour
2015-12-29 10:07:49.647  WARN 2487 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
2015-12-29 10:07:49.692  WARN 2487 --- [           main] sagan.SaganApplication                   : Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.annotation.ProxyCachingConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' is defined)
2015-12-29 10:07:49.707 ERROR 2487 --- [           main] sagan.SaganApplication                   : Application startup failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838) ~[spring-context-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537) ~[spring-context-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:295) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
    at sagan.SiteApplication.main(SiteApplication.java:45) [sagan-site.jar!/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_60]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_60]
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [sagan-site.jar!/:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 23 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 37 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ~[spring-beans-4.2.3.RELEASE.jar!/:4.2.3.RELEASE]
    ... 50 common frames omitted
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) ~[jruby-complete-1.7.16.1.jar:na]
    at RUBY.require(/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-555df144-1dc2-471e-adb0-127c9e27cc26/jruby-complete-1.7.16.1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na]
    at RUBY.(root)(<script>:9) ~[na:na]

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'docsWebhookController' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/sagan/guides/support/DocsWebhookController.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [sagan.guides.support.Tutorials]: : Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
    at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:295)
    at sagan.SiteApplication.main(SiteApplication.java:45)
    ... 6 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tutorials' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/Tutorials.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [sagan.guides.support.GuideOrganization]: : Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    ... 23 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'guideOrganization' defined in URL [jar:file:/Users/comee/IdeaProjects/sagan/sagan-site/build/libs/sagan-site.jar!/lib/sagan-common.jar!/sagan/guides/support/GuideOrganization.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    ... 37 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [sagan.guides.support.GuideOrganization]: Constructor threw exception; nested exception is org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
    ... 50 more
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor
    at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065)
    at RUBY.require(/var/folders/tr/nx0vgn050dv8rwllv976c5480000gn/T/sagan-site.jar-spring-boot-libs-555df144-1dc2-471e-adb0-127c9e27cc26/jruby-complete-1.7.16.1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55)
    at RUBY.(root)(<script>:9)
ShaoxueerdeMac:libs comee$ 
@gregturn

This comment has been minimized.

Show comment
Hide comment
@gregturn

gregturn Dec 29, 2015

Contributor

We need to deduce if jruby-complete is being properly unpacked by Boot via https://github.com/spring-io/sagan/blob/master/sagan-site/build.gradle#L3. Something may have changed since #191.

Also, it's important to remember Sagan in production is NOT the executable jar but instead deployment via the Java build pack.

Contributor

gregturn commented Dec 29, 2015

We need to deduce if jruby-complete is being properly unpacked by Boot via https://github.com/spring-io/sagan/blob/master/sagan-site/build.gradle#L3. Something may have changed since #191.

Also, it's important to remember Sagan in production is NOT the executable jar but instead deployment via the Java build pack.

@Comee

This comment has been minimized.

Show comment
Hide comment
@Comee

Comee Dec 29, 2015

Yes, thanks.
I just want to learn something from this project.
It's so sad to meet this fault.

Comee commented Dec 29, 2015

Yes, thanks.
I just want to learn something from this project.
It's so sad to meet this fault.

@michael-simons

This comment has been minimized.

Show comment
Hide comment
@michael-simons

michael-simons Jan 8, 2016

I have the same problem with my JUGs site (sources are here https://github.com/EuregJUG-Maas-Rhine/site). The problem exists not only with gradle but also with the Maven build.
The site runs fine with the Java Build pack and also when using mvn spring-boot:run but fails with the same error using java -jar … (the fat jar)

I have the same problem with my JUGs site (sources are here https://github.com/EuregJUG-Maas-Rhine/site). The problem exists not only with gradle but also with the Maven build.
The site runs fine with the Java Build pack and also when using mvn spring-boot:run but fails with the same error using java -jar … (the fat jar)

@bclozel

This comment has been minimized.

Show comment
Hide comment
@bclozel

bclozel Jan 8, 2016

Member

@michael-simons This indeed looks familiar - you also have JRuby (with asciidoctorj) on your classpath.

Member

bclozel commented Jan 8, 2016

@michael-simons This indeed looks familiar - you also have JRuby (with asciidoctorj) on your classpath.

@gregturn

This comment has been minimized.

Show comment
Hide comment
@gregturn

gregturn Jan 8, 2016

Contributor

@michael-simons The core issue is that jruby-complete and asciidoctor don't play nicely together when bundled inside a JAR. For some reason, the classloader fails to handle this situation. Spring Boot developed a work around such that jruby-complete.jar is unpacked and used outside the embedded JAR. I'm not sure why sagan has regressed this way. Is your app also Spring Boot?

Contributor

gregturn commented Jan 8, 2016

@michael-simons The core issue is that jruby-complete and asciidoctor don't play nicely together when bundled inside a JAR. For some reason, the classloader fails to handle this situation. Spring Boot developed a work around such that jruby-complete.jar is unpacked and used outside the embedded JAR. I'm not sure why sagan has regressed this way. Is your app also Spring Boot?

@michael-simons

This comment has been minimized.

Show comment
Hide comment
@michael-simons

michael-simons Jan 8, 2016

Hi @gregturn,

yes, the linked application is also Spring Boot (1.3.1), i use Asciidoctor to render posts.

Hi @gregturn,

yes, the linked application is also Spring Boot (1.3.1), i use Asciidoctor to render posts.

@gregturn

This comment has been minimized.

Show comment
Hide comment
@gregturn

gregturn Jan 8, 2016

Contributor

And are you using the requiresUnpack directive in either the gradle or maven spring-boot plugin?

Contributor

gregturn commented Jan 8, 2016

And are you using the requiresUnpack directive in either the gradle or maven spring-boot plugin?

@michael-simons

This comment has been minimized.

Show comment
Hide comment
@michael-simons

michael-simons Jan 8, 2016

No, i wasn't. Now i am (see EuregJUG-Maas-Rhine/site@aa85172), problem solved. Thanks a lot and sorry for not reading the docs carefully.

No, i wasn't. Now i am (see EuregJUG-Maas-Rhine/site@aa85172), problem solved. Thanks a lot and sorry for not reading the docs carefully.

@michael-simons

This comment has been minimized.

Show comment
Hide comment
@michael-simons

michael-simons Jan 8, 2016

May specifying asciidoctorj as requiring unpack may also solves your problem with sagan. Only specifying JRuby doesn't help, the error shows that JRuby has a problem accessing the asciidoctor gem.

May specifying asciidoctorj as requiring unpack may also solves your problem with sagan. Only specifying JRuby doesn't help, the error shows that JRuby has a problem accessing the asciidoctor gem.

@bclozel

This comment has been minimized.

Show comment
Hide comment
@bclozel

bclozel Jan 8, 2016

Member

Ha, I think you're right.

Member

bclozel commented Jan 8, 2016

Ha, I think you're right.

@michael-simons

This comment has been minimized.

Show comment
Hide comment
@michael-simons

michael-simons Jan 8, 2016

Yes, i am. Just tried it myself with sagan.

requiresUnpack = ['org.jruby:jruby-complete', 'org.asciidoctor:asciidoctorj']

in sagan-site/build.gradle and the site runs standalone again.

Yes, i am. Just tried it myself with sagan.

requiresUnpack = ['org.jruby:jruby-complete', 'org.asciidoctor:asciidoctorj']

in sagan-site/build.gradle and the site runs standalone again.

@gregturn

This comment has been minimized.

Show comment
Hide comment
@gregturn

gregturn Jan 8, 2016

Contributor

Thanks @michael-simons. That strongly hints that stand alone JAR never worked until just now. :)

Contributor

gregturn commented Jan 8, 2016

Thanks @michael-simons. That strongly hints that stand alone JAR never worked until just now. :)

@michael-simons

This comment has been minimized.

Show comment
Hide comment
@michael-simons

michael-simons Jan 8, 2016

👍 I really love the Spring community. Thanks for all your work!

👍 I really love the Spring community. Thanks for all your work!

@bclozel bclozel closed this in 96cd6d0 Jan 8, 2016

@Comee

This comment has been minimized.

Show comment
Hide comment
@Comee

Comee Jan 9, 2016

Thanks !

Comee commented Jan 9, 2016

Thanks !

@waqasrajab

This comment has been minimized.

Show comment
Hide comment
@waqasrajab

waqasrajab Jan 15, 2016

I am stuck with this error and can't figure out how get the unpacking work to get around this problem.

I am trying to use Spring-RestDoc, my gradle file looks like following

buildscript {
ext {
springBootVersion = '1.3.1.RELEASE'
springRestdocsVersion = '1.1.0.BUILD-SNAPSHOT'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath('io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE')
}
}

plugins {
id "org.asciidoctor.convert" version "1.5.3"
}

apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'eclipse'
apply plugin: 'io.spring.dependency-management'

repositories {
mavenLocal()
maven { url 'https://repo.spring.io/libs-snapshot' }
mavenCentral()
}

group = 'com.tma'

sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
mavenLocal()
maven { url 'https://repo.spring.io/libs-snapshot' }
mavenCentral()
}

ext {
snippetsDir = file('build/generated-snippets')
}

dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('com.h2database:h2')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile("org.springframework.restdocs:spring-restdocs-mockmvc:$springRestdocsVersion")
}

test {
outputs.dir snippetsDir
}

asciidoctor {
attributes 'snippets': snippetsDir
inputs.dir snippetsDir
dependsOn test
}

springBoot {
requiresUnpack = ['org.jruby:jruby-complete', 'org.asciidoctor:asciidoctor-gradle-plugin']
}

jar {

dependsOn springBoot
dependsOn asciidoctor
from ("${asciidoctor.outputDir}/html5") {
    into '/public'
}

}

eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}

task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}

Please help

I am stuck with this error and can't figure out how get the unpacking work to get around this problem.

I am trying to use Spring-RestDoc, my gradle file looks like following

buildscript {
ext {
springBootVersion = '1.3.1.RELEASE'
springRestdocsVersion = '1.1.0.BUILD-SNAPSHOT'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath('io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE')
}
}

plugins {
id "org.asciidoctor.convert" version "1.5.3"
}

apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'eclipse'
apply plugin: 'io.spring.dependency-management'

repositories {
mavenLocal()
maven { url 'https://repo.spring.io/libs-snapshot' }
mavenCentral()
}

group = 'com.tma'

sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
mavenLocal()
maven { url 'https://repo.spring.io/libs-snapshot' }
mavenCentral()
}

ext {
snippetsDir = file('build/generated-snippets')
}

dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('com.h2database:h2')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile("org.springframework.restdocs:spring-restdocs-mockmvc:$springRestdocsVersion")
}

test {
outputs.dir snippetsDir
}

asciidoctor {
attributes 'snippets': snippetsDir
inputs.dir snippetsDir
dependsOn test
}

springBoot {
requiresUnpack = ['org.jruby:jruby-complete', 'org.asciidoctor:asciidoctor-gradle-plugin']
}

jar {

dependsOn springBoot
dependsOn asciidoctor
from ("${asciidoctor.outputDir}/html5") {
    into '/public'
}

}

eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}

task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}

Please help

@gregturn

This comment has been minimized.

Show comment
Hide comment
@gregturn

gregturn Jan 15, 2016

Contributor

@waqasrajab Your issue appears to have nothing to do with the existing ticket, or the sagan app for that matter. It might be better to post your question on stackoverflow and tag it spring-restdocs.

Contributor

gregturn commented Jan 15, 2016

@waqasrajab Your issue appears to have nothing to do with the existing ticket, or the sagan app for that matter. It might be better to post your question on stackoverflow and tag it spring-restdocs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment