Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZZtac opened this issue Sep 21, 2020 · 6 comments
Open

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

ZZtac opened this issue Sep 21, 2020 · 6 comments

Comments

@ZZtac
Copy link

ZZtac commented Sep 21, 2020

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
一直报这个错。。搞了半天没弄好,想问下

@alpha302
Copy link

alpha302 commented Sep 22, 2020 via email

@renblog
Copy link

renblog commented Sep 23, 2020

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

@iSafeBlue
Copy link
Owner

应该是个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 //查看帮助

@renblog
Copy link

renblog commented Sep 23, 2020

可以了,感谢
image

@ZZtac
Copy link
Author

ZZtac commented Sep 23, 2020

可以了,感谢
image

xray还能用?

@ZZtac
Copy link
Author

ZZtac commented Sep 23, 2020

删除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配置吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants