org.kohsuke.args4j.IllegalAnnotationError: java.lang.reflect.InvocationTargetException

Stack Overflow | El Fufu | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to get Spring XD working on Windows

    Stack Overflow | 7 months ago | El Fufu
    org.kohsuke.args4j.IllegalAnnotationError: java.lang.reflect.InvocationTargetException

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Expected to match 'file:/C:/Program%20Files/spring-xd-1.2.0.RELEASE/xd/bin/../lib/messagebus/kafka/' with regex '.*C:/Program Files/spring-xd-1.2.0.RELEASE/xd/bin/../lib/messagebus/([^/]*).*'

      at org.springframework.xd.dirt.server.options.ResourcePatternScanningOptionHandler.init()
    2. org.springframework.xd
      ResourcePatternScanningOptionHandlers$SingleNodeDataTransportOptionHandler.<init>
      1. org.springframework.xd.dirt.server.options.ResourcePatternScanningOptionHandler.init(ResourcePatternScanningOptionHandler.java:101)
      2. org.springframework.xd.dirt.server.options.ResourcePatternScanningOptionHandler.<init>(ResourcePatternScanningOptionHandler.java:58)
      3. org.springframework.xd.dirt.server.options.ResourcePatternScanningOptionHandlers$SingleNodeDataTransportOptionHandler.<init>(ResourcePatternScanningOptionHandlers.java:52)
      3 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    4. args4j
      CmdLineParser.<init>
      1. org.kohsuke.args4j.CmdLineParser.createOptionHandler(CmdLineParser.java:170)
      2. org.kohsuke.args4j.CmdLineParser.addOption(CmdLineParser.java:131)
      3. org.kohsuke.args4j.ClassParser.parse(ClassParser.java:34)
      4. org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:91)
      4 frames
    5. org.springframework.xd
      CommandLinePropertySourceOverridingListener.onApplicationEvent
      1. org.springframework.xd.dirt.server.options.CommandLinePropertySourceOverridingListener.onApplicationEvent(CommandLinePropertySourceOverridingListener.java:69)
      2. org.springframework.xd.dirt.server.options.CommandLinePropertySourceOverridingListener.onApplicationEvent(CommandLinePropertySourceOverridingListener.java:45)
      2 frames
    6. Spring Context
      SimpleApplicationEventMulticaster.multicastEvent
      1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151)
      2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128)
      2 frames
    7. Spring Boot
      SpringApplicationBuilder.run
      1. org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100)
      2. org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:59)
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:285)
      4. org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
      4 frames
    8. org.springframework.xd
      SingleNodeApplication.main
      1. org.springframework.xd.dirt.server.container.ContainerBootstrapContext.<init>(ContainerBootstrapContext.java:48)
      2. org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.run(SingleNodeApplication.java:57)
      3. org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.main(SingleNodeApplication.java:50)
      3 frames