org.kohsuke.args4j.IllegalAnnotationError

java.lang.reflect.InvocationTargetException

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Stack Overflow by El Fufu
    ,
  • Stack trace

    • org.kohsuke.args4j.IllegalAnnotationError: java.lang.reflect.InvocationTargetException at org.kohsuke.args4j.CmdLineParser.createOptionHandler(CmdLineParser.java:176) at org.kohsuke.args4j.CmdLineParser.addOption(CmdLineParser.java:131) at org.kohsuke.args4j.ClassParser.parse(ClassParser.java:34) at org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:91) at org.springframework.xd.dirt.server.options.CommandLinePropertySourceOverridingListener.onApplicationEvent(CommandLinePropertySourceOverridingListener.java:69) at org.springframework.xd.dirt.server.options.CommandLinePropertySourceOverridingListener.onApplicationEvent(CommandLinePropertySourceOverridingListener.java:45) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:59) at org.springframework.boot.SpringApplication.run(SpringApplication.java:285) at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139) at org.springframework.xd.dirt.server.container.ContainerBootstrapContext.<init>(ContainerBootstrapContext.java:48) at org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.run(SingleNodeApplication.java:57) at org.springframework.xd.dirt.server.singlenode.SingleNodeApplication.main(SingleNodeApplication.java:50) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.kohsuke.args4j.CmdLineParser.createOptionHandler(CmdLineParser.java:170) ... 14 more Caused by: 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(ResourcePatternScanningOptionHandler.java:101) at org.springframework.xd.dirt.server.options.ResourcePatternScanningOptionHandler.<init>(ResourcePatternScanningOptionHandler.java:58) at org.springframework.xd.dirt.server.options.ResourcePatternScanningOptionHandlers$SingleNodeDataTransportOptionHandler.<init>(ResourcePatternScanningOptionHandlers.java:52) ... 19 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,