iSafeBlue / TrackRay

溯光 (TrackRay) 3 beta⚡渗透测试框架(资产扫描|指纹识别|暴力破解|网页爬虫|端口扫描|漏洞扫描|代码审计|AWVS|NMAP|Metasploit|SQLMap)
GNU General Public License v3.0
2.03k stars 373 forks source link

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

Open ZZtac opened 3 years ago

ZZtac commented 3 years ago

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 commented 3 years ago

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

At 2020-09-21 19:05:10, "Simple丶June" notifications@github.com 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.

renblog commented 3 years ago

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

iSafeBlue commented 3 years ago

应该是个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 commented 3 years ago

可以了,感谢 image

ZZtac commented 3 years ago

可以了,感谢 image

xray还能用?

ZZtac commented 3 years ago

删除config的配置文件,重新生成一下 At 2020-09-21 19:05:10, "Simple丶June" notifications@github.com 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配置吗?