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

Stack Overflow | El Fufu | 5 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 | 5 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)[spring-xd-dirt-1.2.0.RELEASE.jar:1.2.0.RELEASE]
      2. org.springframework.xd.dirt.server.options.ResourcePatternScanningOptionHandler.<init>(ResourcePatternScanningOptionHandler.java:58)[spring-xd-dirt-1.2.0.RELEASE.jar:1.2.0.RELEASE]
      3. org.springframework.xd.dirt.server.options.ResourcePatternScanningOptionHandlers$SingleNodeDataTransportOptionHandler.<init>(ResourcePatternScanningOptionHandlers.java:52)[spring-xd-dirt-1.2.0.RELEASE.jar:1.2.0.RELEASE]
      3 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_101]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[na:1.8.0_101]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[na:1.8.0_101]
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)[na:1.8.0_101]
      4 frames
    4. args4j
      CmdLineParser.<init>
      1. org.kohsuke.args4j.CmdLineParser.createOptionHandler(CmdLineParser.java:170)[args4j-2.0.16.jar:na]
      2. org.kohsuke.args4j.CmdLineParser.addOption(CmdLineParser.java:131)[args4j-2.0.16.jar:na]
      3. org.kohsuke.args4j.ClassParser.parse(ClassParser.java:34)[args4j-2.0.16.jar:na]
      4. org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:91)[args4j-2.0.16.jar:na]
      4 frames
    5. org.springframework.xd
      CommandLinePropertySourceOverridingListener.onApplicationEvent
      1. org.springframework.xd.dirt.server.options.CommandLinePropertySourceOverridingListener.onApplicationEvent(CommandLinePropertySourceOverridingListener.java:69)[spring-xd-dirt-1.2.0.RELEASE.jar:1.2.0.RELEASE]
      2. org.springframework.xd.dirt.server.options.CommandLinePropertySourceOverridingListener.onApplicationEvent(CommandLinePropertySourceOverridingListener.java:45)[spring-xd-dirt-1.2.0.RELEASE.jar:1.2.0.RELEASE]
      2 frames
    6. Spring Context
      SimpleApplicationEventMulticaster.multicastEvent
      1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128)[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
      2 frames
    7. Spring Boot
      SpringApplicationBuilder.run
      1. org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
      2. org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:59)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:285)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
      4. org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
      4 frames
    8. org.springframework.xd
      SingleNodeApplication.main
      1. org.springframework.xd.dirt.server.container.ContainerBootstrapContext.<init>(ContainerBootstrapContext.java:48)[spring-xd-dirt-1.2.0.RELEASE.jar:1.2.0.RELEASE]
      2. org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.run(SingleNodeApplication.java:57)[spring-xd-dirt-1.2.0.RELEASE.jar:1.2.0.RELEASE]
      3. org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.main(SingleNodeApplication.java:50)[spring-xd-dirt-1.2.0.RELEASE.jar:1.2.0.RELEASE]
      3 frames