TrackRay icon indicating copy to clipboard operation
TrackRay copied to clipboard

ERROR 300 --- [ main] o.s.boot.SpringApplication

Open ZZtac opened this issue 4 years ago • 6 comments

rg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'XRayConfiguration': Unsatisfied dependency expressed through field 'xRayExecutor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xRayExecutor' defined in class path resource [com/trackray/base/configuration/XRayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.exec.DefaultExecutor]: Circular reference involving containing bean 'XRayConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'initXRay' threw exception; nested exception is java.lang.NullPointerException 一直报这个错。。搞了半天没弄好,想问下

ZZtac avatar Sep 21 '20 11:09 ZZtac

删除config的配置文件,重新生成一下

At 2020-09-21 19:05:10, "Simple丶June" [email protected] wrote:

rg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'XRayConfiguration': Unsatisfied dependency expressed through field 'xRayExecutor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xRayExecutor' defined in class path resource [com/trackray/base/configuration/XRayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.exec.DefaultExecutor]: Circular reference involving containing bean 'XRayConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'initXRay' threw exception; nested exception is java.lang.NullPointerException 一直报这个错。。搞了半天没弄好,想问下

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

alpha302 avatar Sep 22 '20 14:09 alpha302

image 我也docker环境整了好长时间,也是这个错误,具体删除哪个config文件,是镜像的?还是容器的?

renblog avatar Sep 23 '20 08:09 renblog

应该是个Linux 下的bug,可以通过 java -jar trackray.jar [function] 的方式关闭 xray 自启动。

java -jar trackray.jar burpsuite awvs msf sqlmap // 排除掉xray
java -jar trackray.jar none // 其他组件均不开启自启动
java -jar trackray.jar --help //查看帮助

iSafeBlue avatar Sep 23 '20 08:09 iSafeBlue

可以了,感谢 image

renblog avatar Sep 23 '20 08:09 renblog

可以了,感谢 image

xray还能用?

ZZtac avatar Sep 23 '20 14:09 ZZtac

删除config的配置文件,重新生成一下 At 2020-09-21 19:05:10, "Simple丶June" [email protected] wrote: rg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'XRayConfiguration': Unsatisfied dependency expressed through field 'xRayExecutor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xRayExecutor' defined in class path resource [com/trackray/base/configuration/XRayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.exec.DefaultExecutor]: Circular reference involving containing bean 'XRayConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'initXRay' threw exception; nested exception is java.lang.NullPointerException 一直报这个错。。搞了半天没弄好,想问下 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

XRAY配置吗?

ZZtac avatar Sep 23 '20 14:09 ZZtac