jar包冲突,swagger里面用的guava是20.0版本,我另外一个包里面用的guava是13.0排除哪一个都无法正常使用如何解决 5C

jar包冲突,swagger里面用的guava是20.0版本,我另外一个包里面用的guava是13.0排除哪一个都无法正常使用如何解决

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Springboot2.2.0.M1 +swagger2 报错
Description: An attempt was made to call a method that does not exist. The attempt was made from the following location: springfox.documentation.spring.web.plugins.DocumentationPluginsManager.createContextBuilder(DocumentationPluginsManager.java:152) The following method did not exist: org.springframework.plugin.core.PluginRegistry.getPluginFor(Ljava/lang/Object;Lorg/springframework/plugin/core/Plugin;)Lorg/springframework/plugin/core/Plugin; The method's class, org.springframework.plugin.core.PluginRegistry, is available from the following locations: jar:file:/E:/apache-maven-3.6.0/repository_all/org/springframework/plugin/spring-plugin-core/2.0.0.M1/spring-plugin-core-2.0.0.M1.jar!/org/springframework/plugin/core/PluginRegistry.class It was loaded from the following location: file:/E:/apache-maven-3.6.0/repository_all/org/springframework/plugin/spring-plugin-core/2.0.0.M1/spring-plugin-core-2.0.0.M1.jar Action: Correct the classpath of your application so that it contains a single, compatible version of org.springframework.plugin.core.PluginRegistry <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.9.2</version> </dependency> 看情况是jar包冲突没有找到: ```org/springframework/plugin/core/Plugin 这个包是springfox-swagger2.jar依赖引入的,但是找不出是那里冲突了,为什么找不到类 ```
关于swagger-api的一些问题qiujie.
DTO对象里面有个2个注解有疑问如下 1. ```@ApiModel(value = "TestDto",description = "测试Dto")``` 2.```@ApiModelProperty(value = "姓名", example = "maxTse",position = 1)``` 问题:如上2个api我在swagger-html里面没有看到任何信息,求有经验的人说下可以吗。 Controller里面 1.@ApiOperation(value = "test", response = String.class) 上面这个response有啥用?有的时候写String.class 有的时候写Dto对象.class 但是我们的项目返回值都是JsonResult,只不过JsonResult是key和value形式的,里面的value的确都是跟resepoonse对应的,难道这个注释只是给自己看的吗。
jersey+swagger整合问题
io.swagger1.5 相关jar web.xml 相关配置 <servlet> <servlet-name>jersey</servlet-name> <servlet-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</servlet-class> <init-param> <param-name>com.sun.jersey.config.property.packages</param-name> <param-value> io.swagger.jaxrs.json, io.swagger.jaxrs.listing, com.ce.cec.web </param-value> </init-param> </servlet> <servlet> <servlet-name>Jersey2Config</servlet-name> <servlet-class>io.swagger.jaxrs.config.DefaultJaxrsConfig</servlet-class> <init-param> <param-name>api.version</param-name> <param-value>1.0.0</param-value> </init-param> <init-param> <param-name>swagger.api.basepath</param-name> <param-value>http://localhost:8080/cmm</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> 目前不能给方法的输入参数编制Api,且编制Api的方法如果有参数也会报错。 Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/BeanParam at io.swagger.jersey.SwaggerJersey2Jaxrs.extractParameters(SwaggerJersey2Jaxrs.java:39) 相关java.wx.rs版本为:javax.ws.rs-api-2.0-sources. 请问是否jar版本问题,请提供相关版本
关于Spring MVC 集成Swagger的问题,api接口重复展示
Swagger版本是1.0.2 页面是从swagger-ui.jar里面拿出来的 ![图片说明](https://img-ask.csdn.net/upload/201705/02/1493688623_147032.png) 有没有了解这个的大哥给个思路? 对了,在swagger的ApiListingScanner.class扫描的时候,这时候我就发现数据已经重复了 配置上也是按照官网那样子来配置的
swagger+springboot通过插件生成api文档出现错误
m2e项目 通过mvn test命令运行时出现如下错误: Failed to execute goal io.github.swagger2markup:swagger2markup-maven-plugin:1.3.1:convertSwagger2markup (default) on project springboot-swagger-demo: Failed to execute goal 'convertSwagger2markup': Type of parameter 'id' must not be blank maven用到的插件如下: ``` <plugin> <groupId>io.github.swagger2markup</groupId> <artifactId>swagger2markup-maven-plugin</artifactId> <version>${swagger2markup.version}</version> <dependencies> <dependency> <groupId>io.github.swagger2markup</groupId> <artifactId>swagger2markup-import-files-ext</artifactId> <version>${swagger2markup.version}</version> </dependency> <dependency> <groupId>io.github.swagger2markup</groupId> <artifactId>swagger2markup-spring-restdocs-ext</artifactId> <version>${swagger2markup.version}</version> </dependency> </dependencies> <configuration> <swaggerInput>${swagger.input}</swaggerInput> <outputDir>${generated.asciidoc.directory}</outputDir> <config> <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage> <swagger2markup.pathsGroupedBy>TAGS</swagger2markup.pathsGroupedBy> <swagger2markup.extensions.dynamicOverview.contentPath>${project.basedir}/src/docs/asciidoc/extensions/overview</swagger2markup.extensions.dynamicOverview.contentPath> <swagger2markup.extensions.dynamicDefinitions.contentPath>${project.basedir}/src/docs/asciidoc/extensions/definitions</swagger2markup.extensions.dynamicDefinitions.contentPath> <swagger2markup.extensions.dynamicPaths.contentPath>${project.basedir}/src/docs/asciidoc/extensions/paths</swagger2markup.extensions.dynamicPaths.contentPath> <swagger2markup.extensions.dynamicSecurity.contentPath>${project.basedir}src/docs/asciidoc/extensions/security/</swagger2markup.extensions.dynamicSecurity.contentPath> <swagger2markup.extensions.springRestDocs.snippetBaseUri>${swagger.snippetOutput.dir}</swagger2markup.extensions.springRestDocs.snippetBaseUri> <swagger2markup.extensions.springRestDocs.defaultSnippets>false</swagger2markup.extensions.springRestDocs.defaultSnippets> </config> </configuration> <executions> <execution> <phase>test</phase> <goals> <goal>convertSwagger2markup</goal> </goals> </execution> </executions> </plugin> <!-- Then, run the generated asciidoc through Asciidoctor to generate other documentation types, such as PDFs or HTML5 --> <plugin> <groupId>org.asciidoctor</groupId> <artifactId>asciidoctor-maven-plugin</artifactId> <version>1.5.3</version> <!-- Include Asciidoctor PDF for pdf generation --> <dependencies> <dependency> <groupId>org.asciidoctor</groupId> <artifactId>asciidoctorj-pdf</artifactId> <version>1.5.0-alpha.11</version> </dependency> <dependency> <groupId>org.jruby</groupId> <artifactId>jruby-complete</artifactId> <version>1.7.21</version> </dependency> </dependencies> <!-- Configure generic document generation settings --> <configuration> <sourceDirectory>${asciidoctor.input.directory}</sourceDirectory> <sourceDocumentName>index.adoc</sourceDocumentName> <attributes> <doctype>book</doctype> <toc>left</toc> <toclevels>3</toclevels> <numbered></numbered> <hardbreaks></hardbreaks> <sectlinks></sectlinks> <sectanchors></sectanchors> <generated>${generated.asciidoc.directory}</generated> </attributes> </configuration> <!-- Since each execution can only handle one backend, run separate executions for each desired output type --> <executions> <execution> <id>output-html</id> <phase>test</phase> <goals> <goal>process-asciidoc</goal> </goals> <configuration> <backend>html5</backend> <outputDirectory>${asciidoctor.html.output.directory}</outputDirectory> </configuration> </execution> <execution> <id>output-pdf</id> <phase>test</phase> <goals> <goal>process-asciidoc</goal> </goals> <configuration> <backend>pdf</backend> <outputDirectory>${asciidoctor.pdf.output.directory}</outputDirectory> </configuration> </execution> </executions> </plugin> ``` 主要问题出在使用swagger-maven-plugin插件上
Swagger的host是什么意思?
我项目需要部署到谷歌云上,请问配置文件中的swagger host是干啥用的? ```js swagger: { host: process.env.SWAGGER_HOST || undefined, schemes: ['http'] } ``` 我程序是一个restful api用swagger包起来的。。请问这个host干啥用的?
SpringBoot中使用swagger2遇到问题
springfox-swagger 使用的是2.2.2 spring-boot-starter-parent 使用的是1.5.3 发现一个很奇怪的问题 集成进来之后 端口在8080情况和没有过滤器的情况是好使正常的 ![图片说明](https://img-ask.csdn.net/upload/201712/05/1512478741_715450.png) 只要我修改端口为其他的 或者写了个过滤器就不行会出现找不到接口,删除过滤器及把端口修改为8080又能正常显示
lombok和swagger的冲突
# 在实体类上使用@Data注释会导致Swagger的@ApiResponse内容显示不出来 # ## 实体类说明 ![图片说明](https://img-ask.csdn.net/upload/201910/28/1572254883_117534.png) ## swagger ![图片说明](https://img-ask.csdn.net/upload/201910/28/1572254941_672128.png) ## 显示结果 ![图片说明](https://img-ask.csdn.net/upload/201910/28/1572254490_627125.png) 但是如果将@Data注解去掉改成getter()和setter(),数据又能够出来了
求熟悉套接字和springboot的大神帮忙
小白一只 刚刚入门 intellij装上了之后报了一大堆错 别人已经调通的程序放上来无法运行 求助~~~~~ ![图片说明](https://img-ask.csdn.net/upload/201711/13/1510563392_246803.png) "C:\Program Files (x86)\Java\jdk1.8.0_65\jre\bin\java" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10583 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.5\lib\idea_rt.jar=10584:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.5\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\jfxswt.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.8.0_65\jre\lib\rt.jar;F:\demo\target\classes;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\1.5.8.RELEASE\spring-boot-starter-data-jpa-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-starter\1.5.8.RELEASE\spring-boot-starter-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot\1.5.8.RELEASE\spring-boot-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\1.5.8.RELEASE\spring-boot-autoconfigure-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-starter-logging\1.5.8.RELEASE\spring-boot-starter-logging-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;C:\Users\Administrator\.m2\repository\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;C:\Users\Administrator\.m2\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;C:\Users\Administrator\.m2\repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;C:\Users\Administrator\.m2\repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-starter-aop\1.5.8.RELEASE\spring-boot-starter-aop-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-aop\4.3.12.RELEASE\spring-aop-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\1.5.8.RELEASE\spring-boot-starter-jdbc-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\apache\tomcat\tomcat-jdbc\8.5.23\tomcat-jdbc-8.5.23.jar;C:\Users\Administrator\.m2\repository\org\apache\tomcat\tomcat-juli\8.5.23\tomcat-juli-8.5.23.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-jdbc\4.3.12.RELEASE\spring-jdbc-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\hibernate\hibernate-core\5.0.12.Final\hibernate-core-5.0.12.Final.jar;C:\Users\Administrator\.m2\repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar;C:\Users\Administrator\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.1-api\1.0.0.Final\hibernate-jpa-2.1-api-1.0.0.Final.jar;C:\Users\Administrator\.m2\repository\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;C:\Users\Administrator\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\Administrator\.m2\repository\org\jboss\jandex\2.0.0.Final\jandex-2.0.0.Final.jar;C:\Users\Administrator\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\Administrator\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.1.Final\hibernate-commons-annotations-5.0.1.Final.jar;C:\Users\Administrator\.m2\repository\org\hibernate\hibernate-entitymanager\5.0.12.Final\hibernate-entitymanager-5.0.12.Final.jar;C:\Users\Administrator\.m2\repository\javax\transaction\javax.transaction-api\1.2\javax.transaction-api-1.2.jar;C:\Users\Administrator\.m2\repository\org\springframework\data\spring-data-jpa\1.11.8.RELEASE\spring-data-jpa-1.11.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\data\spring-data-commons\1.13.8.RELEASE\spring-data-commons-1.13.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-orm\4.3.12.RELEASE\spring-orm-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-context\4.3.12.RELEASE\spring-context-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-tx\4.3.12.RELEASE\spring-tx-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-beans\4.3.12.RELEASE\spring-beans-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-aspects\4.3.12.RELEASE\spring-aspects-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-starter-web\1.5.8.RELEASE\spring-boot-starter-web-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.8.RELEASE\spring-boot-starter-tomcat-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.23\tomcat-embed-core-8.5.23.jar;C:\Users\Administrator\.m2\repository\org\apache\tomcat\tomcat-annotations-api\8.5.23\tomcat-annotations-api-8.5.23.jar;C:\Users\Administrator\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.23\tomcat-embed-el-8.5.23.jar;C:\Users\Administrator\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.23\tomcat-embed-websocket-8.5.23.jar;C:\Users\Administrator\.m2\repository\org\hibernate\hibernate-validator\5.3.5.Final\hibernate-validator-5.3.5.Final.jar;C:\Users\Administrator\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\Users\Administrator\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.8.10\jackson-databind-2.8.10.jar;C:\Users\Administrator\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;C:\Users\Administrator\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.8.10\jackson-core-2.8.10.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-web\4.3.12.RELEASE\spring-web-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-webmvc\4.3.12.RELEASE\spring-webmvc-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-expression\4.3.12.RELEASE\spring-expression-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\boot\spring-boot-starter-web-services\1.5.8.RELEASE\spring-boot-starter-web-services-1.5.8.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-oxm\4.3.12.RELEASE\spring-oxm-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\ws\spring-ws-core\2.4.0.RELEASE\spring-ws-core-2.4.0.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\ws\spring-xml\2.4.0.RELEASE\spring-xml-2.4.0.RELEASE.jar;C:\Users\Administrator\.m2\repository\mysql\mysql-connector-java\5.1.44\mysql-connector-java-5.1.44.jar;C:\Users\Administrator\.m2\repository\org\springframework\spring-core\4.3.12.RELEASE\spring-core-4.3.12.RELEASE.jar;C:\Users\Administrator\.m2\repository\io\springfox\springfox-swagger2\2.2.2\springfox-swagger2-2.2.2.jar;C:\Users\Administrator\.m2\repository\org\mapstruct\mapstruct\1.0.0.CR1\mapstruct-1.0.0.CR1.jar;C:\Users\Administrator\.m2\repository\io\swagger\swagger-annotations\1.5.3\swagger-annotations-1.5.3.jar;C:\Users\Administrator\.m2\repository\io\swagger\swagger-models\1.5.3\swagger-models-1.5.3.jar;C:\Users\Administrator\.m2\repository\io\springfox\springfox-spi\2.2.2\springfox-spi-2.2.2.jar;C:\Users\Administrator\.m2\repository\io\springfox\springfox-core\2.2.2\springfox-core-2.2.2.jar;C:\Users\Administrator\.m2\repository\io\springfox\springfox-schema\2.2.2\springfox-schema-2.2.2.jar;C:\Users\Administrator\.m2\repository\io\springfox\springfox-swagger-common\2.2.2\springfox-swagger-common-2.2.2.jar;C:\Users\Administrator\.m2\repository\io\springfox\springfox-spring-web\2.2.2\springfox-spring-web-2.2.2.jar;C:\Users\Administrator\.m2\repository\com\google\guava\guava\18.0\guava-18.0.jar;C:\Users\Administrator\.m2\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;C:\Users\Administrator\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\Administrator\.m2\repository\org\aspectj\aspectjrt\1.8.11\aspectjrt-1.8.11.jar;C:\Users\Administrator\.m2\repository\org\aspectj\aspectjweaver\1.8.11\aspectjweaver-1.8.11.jar;C:\Users\Administrator\.m2\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;C:\Users\Administrator\.m2\repository\org\springframework\hateoas\spring-hateoas\0.23.0.RELEASE\spring-hateoas-0.23.0.RELEASE.jar;C:\Users\Administrator\.m2\repository\io\springfox\springfox-swagger-ui\2.2.2\springfox-swagger-ui-2.2.2.jar;C:\Users\Administrator\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar" com.example.demo.DemoApplication . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.8.RELEASE) 2017-11-13 17:00:59.166 INFO 5480 --- [ main] com.example.demo.DemoApplication : Starting DemoApplication on DESKTOP-9J760FU with PID 5480 (F:\demo\target\classes started by Administrator in F:\demo) 2017-11-13 17:00:59.166 INFO 5480 --- [ main] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default 2017-11-13 17:00:59.260 INFO 5480 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1d3b207: startup date [Mon Nov 13 17:00:59 CST 2017]; root of context hierarchy 2017-11-13 17:01:01.197 INFO 5480 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.ws.config.annotation.DelegatingWsConfiguration' of type [org.springframework.ws.config.annotation.DelegatingWsConfiguration$$EnhancerBySpringCGLIB$$9576969d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2017-11-13 17:01:01.291 INFO 5480 --- [ main] .w.s.a.s.AnnotationActionEndpointMapping : Supporting [WS-Addressing August 2004, WS-Addressing 1.0] 2017-11-13 17:01:01.369 INFO 5480 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f0ded19e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Swagger配置config,转换为doc
public String jsonToAdoc(Map params){ String json = params.get("json"); Swagger20Parser parser = new Swagger20Parser(); try { Swagger swagger = parser.parse(json); Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder() .withMarkupLanguage(MarkupLanguage.ASCIIDOC) .withOperationOrdering(OrderBy.NATURAL) .withOutputLanguage(Language.ZH) .build(); return Swagger2MarkupConverter.from(swagger).build().toString(); } catch (IOException e) { e.printStackTrace(); } return "json有错误"; } 关于Swagger的Swagger2MarkupConfigBuilder这个配置类如何写,还有Swagger2MarkupConverter.from(swagger)这个方法报下面这个错The type io.github.swagger2markup.Swagger2MarkupConverter$Builder cannot be resolved. It is indirectly referenced from required .class files,实在有点不懂,那位兄弟帮帮忙
swagger整合spring出错
整合的时候出现这个。Could not autowire method: public void com.star.p2p.webwork.swagger.MySwaggerConfig.setSpringSwaggerConfig(com.mangofactory.swagger.configuration.SpringSwaggerConfig);不知道什么原因![图片说明](https://img-ask.csdn.net/upload/201508/18/1439884508_595723.png)
关于Swagger2Markup生成HtmlAPI
public String jsonToAdoc(Map<String, String> params){ String json = params.get("json"); Swagger20Parser parser = new Swagger20Parser(); try { Swagger swagger = parser.parse(json); Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder() .withMarkupLanguage(MarkupLanguage.ASCIIDOC) .withOperationOrdering(OrderBy.NATURAL) .withOutputLanguage(Language.ZH) .build(); return Swagger2MarkupConverter.from(swagger).build().toString();** } catch (IOException e) { e.printStackTrace(); } return "json有错误"; } 关于Swagger的Swagger2MarkupConfigBuilder这个配置类如何写,还有Swagger2MarkupConverter.from(swagger)这个方法报下面这个错The type io.github.swagger2markup.Swagger2MarkupConverter$Builder cannot be resolved. It is indirectly referenced from required .class files,实在有点不懂,那位兄弟帮帮忙
spring boot 整合swagger项目放到tomcat的webapps目录下启动的时候报空指针警告有谁知道原因么.
spring boot 整合swagger项目放到tomcat的webapps目录下启动的时候报空指针警告有谁知道原因么 ``` 01-Mar-2019 17:14:11.104 信息 [localhost-startStop-2] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.0.0.RELEASE) 2019-03-01 17:14:12.638 INFO 5924 --- [ost-startStop-2] o.d.DaacApplication : Starting DaacApplication v1.0 on LAPTOP-KE1PBAT8 with PID 5924 (E:\tomcat\apache-tomcat-8.5.34\webapps\devicemgmtservice\WEB-INF\classes started by 93999 in E:\tomcat\apache-tomcat-8.5.34\bin) 2019-03-01 17:14:12.652 INFO 5924 --- [ost-startStop-2] o.d.DaacApplication : No active profile set, falling back to default profiles: default 2019-03-01 17:14:12.713 INFO 5924 --- [ost-startStop-2] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7f03a74a: startup date [Fri Mar 01 17:14:12 CST 2019]; root of context hierarchy 2019-03-01 17:14:14.779 INFO 5924 --- [ost-startStop-2] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-03-01 17:14:14.959 INFO 5924 --- [ost-startStop-2] o.s.w.c.ContextLoader : Root WebApplicationContext: initialization completed in 2246 ms 2019-03-01 17:14:15.342 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/] 2019-03-01 17:14:15.344 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] 2019-03-01 17:14:15.345 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.FilterRegistrationBean : Mapping filter: 'errorPageFilter' to: [/*] 2019-03-01 17:14:15.345 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 2019-03-01 17:14:15.345 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*] 2019-03-01 17:14:15.345 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*] 2019-03-01 17:14:15.345 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.FilterRegistrationBean : Mapping filter: 'crosLoginFilter' to: [/*] 2019-03-01 17:14:16.401 INFO 5924 --- [ost-startStop-2] o.m.d.cluster : Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500} 2019-03-01 17:14:16.551 INFO 5924 --- [localhost:27017] o.m.d.connection : Opened connection [connectionId{localValue:1, serverValue:9}] to localhost:27017 2019-03-01 17:14:16.560 INFO 5924 --- [localhost:27017] o.m.d.cluster : Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 6, 9]}, minWireVersion=0, maxWireVersion=6, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=5620687} 2019-03-01 17:14:17.765 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/device/notify/{deviceId}/{swVersion}],methods=[GET]}" onto public org.daac.version.pojo.response.NotifyResponse org.daac.version.controller.DeviceController.notify(java.lang.String,java.lang.String) 2019-03-01 17:14:17.785 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/devices/{pageIndex}/{pageSize}],methods=[GET]}" onto public org.daac.version.pojo.response.DeviceResponse org.daac.version.controller.DeviceController.getDevices(java.lang.String,java.lang.String) 2019-03-01 17:14:17.785 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/device/update/{deviceId}],methods=[POST]}" onto public void org.daac.version.controller.DeviceController.opUpdate(java.lang.String,org.daac.version.pojo.request.UpdateRequest) 2019-03-01 17:14:17.786 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/device/target],methods=[POST]}" onto public void org.daac.version.controller.DeviceController.opUpdate(org.daac.version.pojo.request.TarGetRequest) 2019-03-01 17:14:17.787 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/devices/id/{pageIndex}/{pageSize}],methods=[GET]}" onto public org.daac.version.pojo.response.DevicesResponse org.daac.version.controller.DeviceController.findId(java.lang.String,java.lang.String) 2019-03-01 17:14:17.788 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/device/target],methods=[GET]}" onto public org.daac.version.pojo.response.TarGetResponse org.daac.version.controller.DeviceController.getUpdate() 2019-03-01 17:14:17.789 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/device/reset/{deviceId}],methods=[POST]}" onto public void org.daac.version.controller.DeviceController.opReset(java.lang.String) 2019-03-01 17:14:17.789 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/device/cfgUpdate/{deviceId}],methods=[GET]}" onto public org.daac.version.pojo.response.CfgUpdateResponse org.daac.version.controller.DeviceController.cfgUpdate(java.lang.String) 2019-03-01 17:14:17.790 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/device/heartBeat],methods=[POST]}" onto public void org.daac.version.controller.DeviceController.heartBeat(org.daac.version.pojo.request.FeedBackRequest) 2019-03-01 17:14:17.799 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration() 2019-03-01 17:14:17.802 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources() 2019-03-01 17:14:17.807 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration() 2019-03-01 17:14:17.816 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 2019-03-01 17:14:17.820 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 2019-03-01 17:14:18.136 INFO 5924 --- [ost-startStop-2] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] 2019-03-01 17:14:18.793 INFO 5924 --- [ost-startStop-2] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7f03a74a: startup date [Fri Mar 01 17:14:12 CST 2019]; root of context hierarchy 2019-03-01 17:14:18.956 INFO 5924 --- [ost-startStop-2] o.s.w.s.h.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-03-01 17:14:18.956 INFO 5924 --- [ost-startStop-2] o.s.w.s.h.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-03-01 17:14:19.054 INFO 5924 --- [ost-startStop-2] o.s.w.s.h.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-03-01 17:14:19.125 WARN 5924 --- [ost-startStop-2] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration) 2019-03-01 17:14:19.529 INFO 5924 --- [ost-startStop-2] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2019-03-01 17:14:19.544 INFO 5924 --- [ost-startStop-2] o.s.c.s.DefaultLifecycleProcessor : Starting beans in phase 2147483647 2019-03-01 17:14:19.544 INFO 5924 --- [ost-startStop-2] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed 2019-03-01 17:14:19.621 INFO 5924 --- [ost-startStop-2] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) 2019-03-01 17:14:19.709 INFO 5924 --- [ost-startStop-2] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references 2019-03-01 17:14:20.035 INFO 5924 --- [ost-startStop-2] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: opUpdateUsingPOST_1 2019-03-01 17:14:20.105 INFO 5924 --- [ost-startStop-2] o.d.DaacApplication : Started DaacApplication in 8.215 seconds (JVM running for 360.081) 2019-03-01 17:14:20.123 INFO 5924 --- [ost-startStop-2] o.d.ServletInitializer : Root context already created (using as parent). . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.0.0.RELEASE) 2019-03-01 17:14:20.209 INFO 5924 --- [ost-startStop-2] o.d.ServletInitializer : No active profile set, falling back to default profiles: default 2019-03-01 17:14:20.216 INFO 5924 --- [ost-startStop-2] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@39e599cc: startup date [Fri Mar 01 17:14:20 CST 2019]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7f03a74a 2019-03-01 17:14:21.031 INFO 5924 --- [ost-startStop-2] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-03-01 17:14:21.103 INFO 5924 --- [ost-startStop-2] o.s.w.c.ContextLoader : Root WebApplicationContext: initialization completed in 887 ms 2019-03-01 17:14:21.149 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.RegistrationBean : Filter errorPageFilter was not registered (possibly already registered?) 2019-03-01 17:14:21.149 INFO 5924 --- [ost-startStop-2] o.s.b.w.s.RegistrationBean : Filter crosLoginFilter was not registered (possibly already registered?) 2019-03-01 17:14:21.764 INFO 5924 --- [ost-startStop-2] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] 2019-03-01 17:14:22.182 INFO 5924 --- [ost-startStop-2] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2019-03-01 17:14:22.186 INFO 5924 --- [ost-startStop-2] o.s.c.s.DefaultLifecycleProcessor : Starting beans in phase 2147483647 2019-03-01 17:14:22.191 INFO 5924 --- [ost-startStop-2] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed 2019-03-01 17:14:22.192 INFO 5924 --- [ost-startStop-2] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s) 2019-03-01 17:14:22.215 INFO 5924 --- [ost-startStop-2] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references 2019-03-01 17:14:22.224 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.CfgUpdateResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.CfgUpdateResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.227 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.CfgUpdateResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.CfgUpdateResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.233 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.DevicesResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.DevicesResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.234 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.DevicesResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.DevicesResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.243 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.DeviceResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.DeviceResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.248 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.DeviceResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.DeviceResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.252 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.TarGetResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.TarGetResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.253 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.TarGetResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.TarGetResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.261 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.request.FeedBackRequest) -> ModelContext{groupName=default, type=org.daac.version.pojo.request.FeedBackRequest, isReturnType=false}. java.lang.NullPointerException 2019-03-01 17:14:22.263 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.request.FeedBackRequest) -> ModelContext{groupName=default, type=org.daac.version.pojo.request.FeedBackRequest, isReturnType=false}. java.lang.NullPointerException 2019-03-01 17:14:22.296 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.NotifyResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.NotifyResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.297 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.response.NotifyResponse) -> ModelContext{groupName=default, type=org.daac.version.pojo.response.NotifyResponse, isReturnType=true}. java.lang.NullPointerException 2019-03-01 17:14:22.306 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.request.TarGetRequest) -> ModelContext{groupName=default, type=org.daac.version.pojo.request.TarGetRequest, isReturnType=false}. java.lang.NullPointerException 2019-03-01 17:14:22.308 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.request.TarGetRequest) -> ModelContext{groupName=default, type=org.daac.version.pojo.request.TarGetRequest, isReturnType=false}. java.lang.NullPointerException 2019-03-01 17:14:22.313 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.request.UpdateRequest) -> ModelContext{groupName=default, type=org.daac.version.pojo.request.UpdateRequest, isReturnType=false}. java.lang.NullPointerException 2019-03-01 17:14:22.317 WARN 5924 --- [ost-startStop-2] s.d.s.p.CachingModelPropertiesProvider : Exception calculating properties for model(org.daac.version.pojo.request.UpdateRequest) -> ModelContext{groupName=default, type=org.daac.version.pojo.request.UpdateRequest, isReturnType=false}. java.lang.NullPointerException 2019-03-01 17:14:22.322 INFO 5924 --- [ost-startStop-2] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: opUpdateUsingPOST_1 2019-03-01 17:14:22.334 INFO 5924 --- [ost-startStop-2] o.d.ServletInitializer : Started ServletInitializer in 2.209 seconds (JVM running for 362.311) 01-Mar-2019 17:14:22.353 信息 [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [E:\tomcat\apache-tomcat-8.5.34\webapps\devicemgmtservice] has finished in [19,539] ms ```
swagger junit 冲突报错
错误代码如下: ``` 6292 [main] ERROR org.springframework.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@148080bb] to prepare test instance [com.wyywp.main.TestUser@490c7a83] java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String; at com.mangofactory.swagger.paths.RelativeSwaggerPathProvider.applicationPath(RelativeSwaggerPathProvider.java:18) at com.mangofactory.swagger.paths.SwaggerPathProvider.getApplicationBasePath(SwaggerPathProvider.java:59) at com.mangofactory.swagger.scanners.ApiListingScanner.scan(ApiListingScanner.java:125) at com.mangofactory.swagger.core.SwaggerApiResourceListing.initialize(SwaggerApiResourceListing.java:72) at com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin.initialize(SwaggerSpringMvcPlugin.java:427) at com.mangofactory.swagger.plugin.SwaggerPluginAdapter.onApplicationEvent(SwaggerPluginAdapter.java:51) at com.mangofactory.swagger.plugin.SwaggerPluginAdapter.onApplicationEvent(SwaggerPluginAdapter.java:21) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:877) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:134) at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:61) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:108) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:251) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83) at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:189) at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:131) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) ```
jenkins自动打jar包后不能访问页面
1.jenkins自动部署jar到服务器 1.1访问controller,可以 1.2访问swagger页面,不行 1.3访问index.jsp,不行 2.手动部署jar到服务器 2.1访问controller,可以 2.2访问swagger页面,可以 2.3访问index.jsp,可以 springboot版本:1.5.10.RELEASE
swagger的host问题!!!
比如我用谷歌云XXX.com来host我的项目,这个swagger的host地址指的是啥?比如我本机localhost来host我的项目这个swagger的host是localhost吗?不明白swagger为啥要有localhost
遇到一个 Bug,不会解决,有没有大佬来帮个忙!!!
``` java.lang.NoSuchMethodError: org.springframework.util.ObjectUtils.unwrapOptional(Ljava/lang/Object;)Ljava/lang/Object; ``` 新的错误 ``` "C:\Program Files (x86)\Java\jdk1.8.0_201\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53436,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -javaagent:C:\Users\Administrator\.IntelliJIdea2019.1\system\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\jfxswt.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\jre\lib\rt.jar;D:\ACBSS58\abcss\ace-modules\ace-dict\target\classes;D:\ACBSS58\abcss\ace-base\ace-common\target\classes;F:\maven\repository\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;F:\maven\repository\tk\mybatis\mapper\3.4.0\mapper-3.4.0.jar;F:\maven\repository\javax\persistence\persistence-api\1.0\persistence-api-1.0.jar;F:\maven\repository\org\springframework\spring-beans\4.3.9.RELEASE\spring-beans-4.3.9.RELEASE.jar;F:\maven\repository\com\github\pagehelper\pagehelper\5.0.3\pagehelper-5.0.3.jar;F:\maven\repository\org\springframework\spring-web\4.3.9.RELEASE\spring-web-4.3.9.RELEASE.jar;F:\maven\repository\io\jsonwebtoken\jjwt\0.7.0\jjwt-0.7.0.jar;F:\maven\repository\com\fasterxml\jackson\core\jackson-databind\2.8.8\jackson-databind-2.8.8.jar;F:\maven\repository\joda-time\joda-time\2.9.9\joda-time-2.9.9.jar;F:\maven\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;F:\maven\repository\de\schlichtherle\truelicense\truelicense-core\1.32\truelicense-core-1.32.jar;F:\maven\repository\de\schlichtherle\truelicense\truelicense-xml\1.32\truelicense-xml-1.32.jar;F:\maven\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;D:\ACBSS58\abcss\ace-base\ace-core\target\classes;F:\maven\repository\org\mortbay\jetty\servlet-api\3.0.20100224\servlet-api-3.0.20100224.jar;F:\maven\repository\com\google\guava\guava\18.0\guava-18.0.jar;F:\maven\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-jdbc\1.5.4.RELEASE\spring-boot-starter-jdbc-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter\1.5.4.RELEASE\spring-boot-starter-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-logging\1.5.4.RELEASE\spring-boot-starter-logging-1.5.4.RELEASE.jar;F:\maven\repository\ch\qos\logback\logback-classic\1.1.11\logback-classic-1.1.11.jar;F:\maven\repository\ch\qos\logback\logback-core\1.1.11\logback-core-1.1.11.jar;F:\maven\repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;F:\maven\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;F:\maven\repository\org\slf4j\log4j-over-slf4j\1.7.25\log4j-over-slf4j-1.7.25.jar;F:\maven\repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;F:\maven\repository\org\apache\tomcat\tomcat-jdbc\8.5.15\tomcat-jdbc-8.5.15.jar;F:\maven\repository\org\apache\tomcat\tomcat-juli\8.5.15\tomcat-juli-8.5.15.jar;F:\maven\repository\org\springframework\spring-jdbc\4.3.9.RELEASE\spring-jdbc-4.3.9.RELEASE.jar;F:\maven\repository\org\springframework\spring-tx\4.3.9.RELEASE\spring-tx-4.3.9.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-undertow\1.5.4.RELEASE\spring-boot-starter-undertow-1.5.4.RELEASE.jar;F:\maven\repository\io\undertow\undertow-core\1.4.15.Final\undertow-core-1.4.15.Final.jar;F:\maven\repository\org\jboss\logging\jboss-logging\3.3.1.Final\jboss-logging-3.3.1.Final.jar;F:\maven\repository\org\jboss\xnio\xnio-api\3.3.6.Final\xnio-api-3.3.6.Final.jar;F:\maven\repository\org\jboss\xnio\xnio-nio\3.3.6.Final\xnio-nio-3.3.6.Final.jar;F:\maven\repository\io\undertow\undertow-servlet\1.4.15.Final\undertow-servlet-1.4.15.Final.jar;F:\maven\repository\org\jboss\spec\javax\annotation\jboss-annotations-api_1.2_spec\1.0.0.Final\jboss-annotations-api_1.2_spec-1.0.0.Final.jar;F:\maven\repository\io\undertow\undertow-websockets-jsr\1.4.15.Final\undertow-websockets-jsr-1.4.15.Final.jar;F:\maven\repository\org\jboss\spec\javax\websocket\jboss-websocket-api_1.1_spec\1.1.0.Final\jboss-websocket-api_1.1_spec-1.1.0.Final.jar;F:\maven\repository\org\glassfish\javax.el\3.0.0\javax.el-3.0.0.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-starter-feign\1.3.1.RELEASE\spring-cloud-starter-feign-1.3.1.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-starter\1.2.2.RELEASE\spring-cloud-starter-1.2.2.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-context\1.2.2.RELEASE\spring-cloud-context-1.2.2.RELEASE.jar;F:\maven\repository\org\springframework\security\spring-security-rsa\1.0.3.RELEASE\spring-security-rsa-1.0.3.RELEASE.jar;F:\maven\repository\org\bouncycastle\bcpkix-jdk15on\1.55\bcpkix-jdk15on-1.55.jar;F:\maven\repository\org\bouncycastle\bcprov-jdk15on\1.55\bcprov-jdk15on-1.55.jar;F:\maven\repository\io\github\openfeign\feign-core\9.5.0\feign-core-9.5.0.jar;F:\maven\repository\org\jvnet\animal-sniffer-annotation\1.0\animal-sniffer-annotation-1.0.jar;F:\maven\repository\io\github\openfeign\feign-slf4j\9.5.0\feign-slf4j-9.5.0.jar;F:\maven\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;F:\maven\repository\io\github\openfeign\feign-hystrix\9.5.0\feign-hystrix-9.5.0.jar;F:\maven\repository\com\netflix\archaius\archaius-core\0.7.4\archaius-core-0.7.4.jar;F:\maven\repository\com\google\code\findbugs\jsr305\3.0.1\jsr305-3.0.1.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-starter-ribbon\1.3.1.RELEASE\spring-cloud-starter-ribbon-1.3.1.RELEASE.jar;F:\maven\repository\com\netflix\ribbon\ribbon\2.2.2\ribbon-2.2.2.jar;F:\maven\repository\com\netflix\ribbon\ribbon-transport\2.2.2\ribbon-transport-2.2.2.jar;F:\maven\repository\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;F:\maven\repository\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;F:\maven\repository\javax\inject\javax.inject\1\javax.inject-1.jar;F:\maven\repository\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;F:\maven\repository\io\netty\netty-codec-http\4.0.27.Final\netty-codec-http-4.0.27.Final.jar;F:\maven\repository\io\netty\netty-codec\4.0.27.Final\netty-codec-4.0.27.Final.jar;F:\maven\repository\io\netty\netty-handler\4.0.27.Final\netty-handler-4.0.27.Final.jar;F:\maven\repository\io\netty\netty-transport-native-epoll\4.0.27.Final\netty-transport-native-epoll-4.0.27.Final.jar;F:\maven\repository\io\netty\netty-common\4.0.27.Final\netty-common-4.0.27.Final.jar;F:\maven\repository\io\netty\netty-buffer\4.0.27.Final\netty-buffer-4.0.27.Final.jar;F:\maven\repository\io\netty\netty-transport\4.0.27.Final\netty-transport-4.0.27.Final.jar;F:\maven\repository\com\netflix\ribbon\ribbon-core\2.2.2\ribbon-core-2.2.2.jar;F:\maven\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;F:\maven\repository\com\netflix\ribbon\ribbon-httpclient\2.2.2\ribbon-httpclient-2.2.2.jar;F:\maven\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;F:\maven\repository\com\netflix\netflix-commons\netflix-commons-util\0.1.1\netflix-commons-util-0.1.1.jar;F:\maven\repository\com\netflix\ribbon\ribbon-loadbalancer\2.2.2\ribbon-loadbalancer-2.2.2.jar;F:\maven\repository\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;F:\maven\repository\io\reactivex\rxjava\1.1.10\rxjava-1.1.10.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-starter-archaius\1.3.1.RELEASE\spring-cloud-starter-archaius-1.3.1.RELEASE.jar;F:\maven\repository\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;F:\maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.0\jackson-annotations-2.8.0.jar;F:\maven\repository\com\fasterxml\jackson\core\jackson-core\2.8.8\jackson-core-2.8.8.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-starter-eureka\1.3.1.RELEASE\spring-cloud-starter-eureka-1.3.1.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-web\1.5.4.RELEASE\spring-boot-starter-web-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-tomcat\1.5.4.RELEASE\spring-boot-starter-tomcat-1.5.4.RELEASE.jar;F:\maven\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.15\tomcat-embed-core-8.5.15.jar;F:\maven\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.15\tomcat-embed-el-8.5.15.jar;F:\maven\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.15\tomcat-embed-websocket-8.5.15.jar;F:\maven\repository\org\hibernate\hibernate-validator\5.3.5.Final\hibernate-validator-5.3.5.Final.jar;F:\maven\repository\com\netflix\eureka\eureka-client\1.6.2\eureka-client-1.6.2.jar;F:\maven\repository\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;F:\maven\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;F:\maven\repository\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;F:\maven\repository\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;F:\maven\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;F:\maven\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;F:\maven\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;F:\maven\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;F:\maven\repository\com\google\code\gson\gson\2.8.0\gson-2.8.0.jar;F:\maven\repository\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;F:\maven\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;F:\maven\repository\com\netflix\servo\servo-core\0.10.1\servo-core-0.10.1.jar;F:\maven\repository\com\netflix\servo\servo-internal\0.10.1\servo-internal-0.10.1.jar;F:\maven\repository\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;F:\maven\repository\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;F:\maven\repository\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;F:\maven\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;F:\maven\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;F:\maven\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;F:\maven\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;F:\maven\repository\com\netflix\eureka\eureka-core\1.6.2\eureka-core-1.6.2.jar;F:\maven\repository\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;F:\maven\repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;F:\maven\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;F:\maven\repository\com\netflix\ribbon\ribbon-eureka\2.2.2\ribbon-eureka-2.2.2.jar;F:\maven\repository\com\thoughtworks\xstream\xstream\1.4.9\xstream-1.4.9.jar;F:\maven\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;F:\maven\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-starter-hystrix\1.3.1.RELEASE\spring-cloud-starter-hystrix-1.3.1.RELEASE.jar;F:\maven\repository\com\netflix\hystrix\hystrix-core\1.5.12\hystrix-core-1.5.12.jar;F:\maven\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;F:\maven\repository\com\netflix\hystrix\hystrix-metrics-event-stream\1.5.12\hystrix-metrics-event-stream-1.5.12.jar;F:\maven\repository\com\netflix\hystrix\hystrix-serialization\1.5.12\hystrix-serialization-1.5.12.jar;F:\maven\repository\com\fasterxml\jackson\module\jackson-module-afterburner\2.8.8\jackson-module-afterburner-2.8.8.jar;F:\maven\repository\com\netflix\hystrix\hystrix-javanica\1.5.12\hystrix-javanica-1.5.12.jar;F:\maven\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;F:\maven\repository\org\aspectj\aspectjweaver\1.8.10\aspectjweaver-1.8.10.jar;F:\maven\repository\de\codecentric\spring-boot-admin-starter-client\1.3.2\spring-boot-admin-starter-client-1.3.2.jar;F:\maven\repository\org\jolokia\jolokia-core\1.3.6\jolokia-core-1.3.6.jar;F:\maven\repository\com\googlecode\json-simple\json-simple\1.1.1\json-simple-1.1.1.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-sleuth-zipkin-stream\1.2.1.RELEASE\spring-cloud-sleuth-zipkin-stream-1.2.1.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-aop\1.5.4.RELEASE\spring-boot-starter-aop-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-sleuth-core\1.2.1.RELEASE\spring-cloud-sleuth-core-1.2.1.RELEASE.jar;F:\maven\repository\org\aspectj\aspectjrt\1.8.10\aspectjrt-1.8.10.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-sleuth-stream\1.2.1.RELEASE\spring-cloud-sleuth-stream-1.2.1.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-cloud-connectors\1.5.4.RELEASE\spring-boot-starter-cloud-connectors-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-spring-service-connector\1.2.4.RELEASE\spring-cloud-spring-service-connector-1.2.4.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-core\1.2.4.RELEASE\spring-cloud-core-1.2.4.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-cloudfoundry-connector\1.2.4.RELEASE\spring-cloud-cloudfoundry-connector-1.2.4.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-heroku-connector\1.2.4.RELEASE\spring-cloud-heroku-connector-1.2.4.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-localconfig-connector\1.2.4.RELEASE\spring-cloud-localconfig-connector-1.2.4.RELEASE.jar;F:\maven\repository\io\zipkin\java\zipkin-server\1.23.2\zipkin-server-1.23.2.jar;F:\maven\repository\io\zipkin\java\zipkin\1.23.2\zipkin-1.23.2.jar;F:\maven\repository\io\zipkin\java\zipkin-autoconfigure-storage-mysql\1.23.2\zipkin-autoconfigure-storage-mysql-1.23.2.jar;F:\maven\repository\io\zipkin\java\zipkin-storage-mysql\1.23.2\zipkin-storage-mysql-1.23.2.jar;F:\maven\repository\org\jooq\jooq\3.9.2\jooq-3.9.2.jar;F:\maven\repository\org\mariadb\jdbc\mariadb-java-client\1.5.9\mariadb-java-client-1.5.9.jar;F:\maven\repository\com\zaxxer\HikariCP\2.5.1\HikariCP-2.5.1.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-starter-stream-rabbit\1.2.1.RELEASE\spring-cloud-starter-stream-rabbit-1.2.1.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-starter-sleuth\1.2.1.RELEASE\spring-cloud-starter-sleuth-1.2.1.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-stream-binder-rabbit\1.2.1.RELEASE\spring-cloud-stream-binder-rabbit-1.2.1.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-stream-binder-rabbit-core\1.2.1.RELEASE\spring-cloud-stream-binder-rabbit-core-1.2.1.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-stream\1.2.2.RELEASE\spring-cloud-stream-1.2.2.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-validation\1.5.4.RELEASE\spring-boot-starter-validation-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\spring-messaging\4.3.9.RELEASE\spring-messaging-4.3.9.RELEASE.jar;F:\maven\repository\org\springframework\integration\spring-integration-core\4.3.10.RELEASE\spring-integration-core-4.3.10.RELEASE.jar;F:\maven\repository\org\springframework\integration\spring-integration-jmx\4.3.10.RELEASE\spring-integration-jmx-4.3.10.RELEASE.jar;F:\maven\repository\org\springframework\spring-tuple\1.0.0.RELEASE\spring-tuple-1.0.0.RELEASE.jar;F:\maven\repository\org\springframework\integration\spring-integration-tuple\1.0.0.RELEASE\spring-integration-tuple-1.0.0.RELEASE.jar;F:\maven\repository\org\springframework\retry\spring-retry\1.2.0.RELEASE\spring-retry-1.2.0.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-stream-codec\1.2.2.RELEASE\spring-cloud-stream-codec-1.2.2.RELEASE.jar;F:\maven\repository\com\esotericsoftware\kryo-shaded\3.0.3\kryo-shaded-3.0.3.jar;F:\maven\repository\com\esotericsoftware\minlog\1.3.0\minlog-1.3.0.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-amqp\1.5.4.RELEASE\spring-boot-starter-amqp-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\amqp\spring-rabbit\1.7.3.RELEASE\spring-rabbit-1.7.3.RELEASE.jar;F:\maven\repository\com\rabbitmq\http-client\1.1.1.RELEASE\http-client-1.1.1.RELEASE.jar;F:\maven\repository\com\rabbitmq\amqp-client\4.0.2\amqp-client-4.0.2.jar;F:\maven\repository\org\springframework\amqp\spring-amqp\1.7.3.RELEASE\spring-amqp-1.7.3.RELEASE.jar;F:\maven\repository\org\springframework\integration\spring-integration-amqp\4.3.10.RELEASE\spring-integration-amqp-4.3.10.RELEASE.jar;F:\maven\repository\junit\junit\4.12\junit-4.12.jar;F:\maven\repository\org\objenesis\objenesis\2.1\objenesis-2.1.jar;F:\maven\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;F:\maven\repository\org\springframework\spring-core\4.3.9.RELEASE\spring-core-4.3.9.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-starter-actuator\1.5.4.RELEASE\spring-boot-starter-actuator-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot-actuator\1.5.4.RELEASE\spring-boot-actuator-1.5.4.RELEASE.jar;F:\maven\repository\com\alibaba\druid-spring-boot-starter\1.1.0\druid-spring-boot-starter-1.1.0.jar;F:\maven\repository\com\alibaba\druid\1.0.11\druid-1.0.11.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\lib\jconsole.jar;C:\Program Files (x86)\Java\jdk1.8.0_201\lib\tools.jar;F:\maven\repository\org\springframework\boot\spring-boot-autoconfigure\1.5.4.RELEASE\spring-boot-autoconfigure-1.5.4.RELEASE.jar;F:\maven\repository\mysql\mysql-connector-java\5.1.42\mysql-connector-java-5.1.42.jar;F:\maven\repository\tk\mybatis\mapper-spring-boot-starter\1.1.2\mapper-spring-boot-starter-1.1.2.jar;F:\maven\repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.0\mybatis-spring-boot-starter-1.3.0.jar;F:\maven\repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.0\mybatis-spring-boot-autoconfigure-1.3.0.jar;F:\maven\repository\org\mybatis\mybatis\3.4.4\mybatis-3.4.4.jar;F:\maven\repository\tk\mybatis\mapper-spring-boot-autoconfigure\1.1.2\mapper-spring-boot-autoconfigure-1.1.2.jar;F:\maven\repository\com\github\pagehelper\pagehelper-spring-boot-starter\1.1.2\pagehelper-spring-boot-starter-1.1.2.jar;F:\maven\repository\com\github\pagehelper\pagehelper-spring-boot-autoconfigure\1.1.2\pagehelper-spring-boot-autoconfigure-1.1.2.jar;F:\maven\repository\com\spring4all\spring-boot-starter-swagger\1.5.1.RELEASE\spring-boot-starter-swagger-1.5.1.RELEASE.jar;F:\maven\repository\io\springfox\springfox-swagger-ui\2.7.0\springfox-swagger-ui-2.7.0.jar;F:\maven\repository\io\springfox\springfox-spring-web\2.7.0\springfox-spring-web-2.7.0.jar;F:\maven\repository\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;F:\maven\repository\org\javassist\javassist\3.21.0-GA\javassist-3.21.0-GA.jar;F:\maven\repository\io\springfox\springfox-swagger2\2.7.0\springfox-swagger2-2.7.0.jar;F:\maven\repository\io\swagger\swagger-annotations\1.5.13\swagger-annotations-1.5.13.jar;F:\maven\repository\io\swagger\swagger-models\1.5.13\swagger-models-1.5.13.jar;F:\maven\repository\io\springfox\springfox-spi\2.7.0\springfox-spi-2.7.0.jar;F:\maven\repository\io\springfox\springfox-core\2.7.0\springfox-core-2.7.0.jar;F:\maven\repository\net\bytebuddy\byte-buddy\1.6.14\byte-buddy-1.6.14.jar;F:\maven\repository\io\springfox\springfox-schema\2.7.0\springfox-schema-2.7.0.jar;F:\maven\repository\io\springfox\springfox-swagger-common\2.7.0\springfox-swagger-common-2.7.0.jar;F:\maven\repository\com\fasterxml\classmate\1.3.3\classmate-1.3.3.jar;F:\maven\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;F:\maven\repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;F:\maven\repository\org\mapstruct\mapstruct\1.1.0.Final\mapstruct-1.1.0.Final.jar;F:\maven\repository\io\springfox\springfox-bean-validators\2.7.0\springfox-bean-validators-2.7.0.jar;F:\maven\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;F:\maven\repository\com\alibaba\fastjson\1.2.33\fastjson-1.2.33.jar;D:\ACBSS58\abcss\ace-auth\ace-auth-client\target\classes;F:\maven\repository\org\springframework\boot\spring-boot-starter-data-redis\1.5.4.RELEASE\spring-boot-starter-data-redis-1.5.4.RELEASE.jar;F:\maven\repository\org\springframework\data\spring-data-redis\1.8.4.RELEASE\spring-data-redis-1.8.4.RELEASE.jar;F:\maven\repository\org\springframework\data\spring-data-keyvalue\1.2.4.RELEASE\spring-data-keyvalue-1.2.4.RELEASE.jar;F:\maven\repository\org\springframework\data\spring-data-commons\1.13.4.RELEASE\spring-data-commons-1.13.4.RELEASE.jar;F:\maven\repository\org\springframework\spring-oxm\4.3.9.RELEASE\spring-oxm-4.3.9.RELEASE.jar;F:\maven\repository\org\springframework\spring-context-support\4.3.9.RELEASE\spring-context-support-4.3.9.RELEASE.jar;F:\maven\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;F:\maven\repository\org\apache\commons\commons-pool2\2.4.2\commons-pool2-2.4.2.jar;F:\maven\repository\io\github\openfeign\feign-okhttp\9.5.0\feign-okhttp-9.5.0.jar;F:\maven\repository\com\squareup\okhttp3\okhttp\3.6.0\okhttp-3.6.0.jar;F:\maven\repository\com\squareup\okio\okio\1.11.0\okio-1.11.0.jar;F:\maven\repository\org\projectlombok\lombok\1.16.14\lombok-1.16.14.jar;F:\maven\repository\com\github\jsqlparser\jsqlparser\1.1\jsqlparser-1.1.jar;F:\maven\repository\org\springframework\spring-webmvc\5.1.5.RELEASE\spring-webmvc-5.1.5.RELEASE.jar;F:\maven\repository\org\springframework\spring-aop\4.3.9.RELEASE\spring-aop-4.3.9.RELEASE.jar;F:\maven\repository\org\springframework\spring-expression\4.3.9.RELEASE\spring-expression-4.3.9.RELEASE.jar;F:\maven\repository\org\springframework\spring-context\4.3.0.RELEASE\spring-context-4.3.0.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-netflix-core\1.3.2.RELEASE\spring-cloud-netflix-core-1.3.2.RELEASE.jar;F:\maven\repository\org\springframework\boot\spring-boot\1.5.4.RELEASE\spring-boot-1.5.4.RELEASE.jar;F:\maven\repository\org\mybatis\mybatis-spring\1.3.1\mybatis-spring-1.3.1.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-commons\1.2.3.RELEASE\spring-cloud-commons-1.2.3.RELEASE.jar;F:\maven\repository\org\springframework\security\spring-security-crypto\4.2.3.RELEASE\spring-security-crypto-4.2.3.RELEASE.jar;F:\maven\repository\org\springframework\cloud\spring-cloud-netflix-eureka-client\1.3.1.RELEASE\spring-cloud-netflix-eureka-client-1.3.1.RELEASE.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2019.1.1\lib\idea_rt.jar" com.github.wxiaoqi.security.dict.DictBootstrap Connected to the target VM, address: '127.0.0.1:53436', transport: 'socket' 2019-05-08 18:07:36.768 INFO [bootstrap,,,] 7392 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@19b0f9d: startup date [Wed May 08 18:07:36 CST 2019]; root of context hierarchy 2019-05-08 18:07:37.299 INFO [bootstrap,,,] 7392 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-05-08 18:07:37.339 INFO [bootstrap,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$2e97f2f4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.4.RELEASE) 2019-05-08 18:07:39.437 INFO [ace-dict,,,] 7392 --- [ main] c.g.wxiaoqi.security.dict.DictBootstrap : No active profile set, falling back to default profiles: default 2019-05-08 18:07:39.504 INFO [ace-dict,,,] 7392 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@109e8cf: startup date [Wed May 08 18:07:39 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@19b0f9d 2019-05-08 18:07:43.074 INFO [ace-dict,,,] 7392 --- [ main] o.s.i.config.IntegrationRegistrar : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created. 2019-05-08 18:07:43.234 INFO [ace-dict,,,] 7392 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2019-05-08 18:07:43.984 INFO [ace-dict,,,] 7392 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=ed09129d-cedd-34a6-a09b-1f2f1f0a4ada 2019-05-08 18:07:43.994 INFO [ace-dict,,,] 7392 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. 2019-05-08 18:07:43.994 INFO [ace-dict,,,] 7392 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. 2019-05-08 18:07:44.024 INFO [ace-dict,,,] 7392 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-05-08 18:07:44.126 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.github.wxiaoqi.security.auth.client.feign.ServiceAuthFeign' of type [class org.springframework.cloud.netflix.feign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:44.204 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration' of type [class org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration$$EnhancerBySpringCGLIB$$d8e9ae25] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:44.334 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.async.AsyncDefaultAutoConfiguration$DefaultAsyncConfigurerSupport' of type [class org.springframework.cloud.sleuth.instrument.async.AsyncDefaultAutoConfiguration$DefaultAsyncConfigurerSupport$$EnhancerBySpringCGLIB$$4fbf8dba] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:44.554 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.annotation.SleuthAnnotationAutoConfiguration' of type [class org.springframework.cloud.sleuth.annotation.SleuthAnnotationAutoConfiguration$$EnhancerBySpringCGLIB$$14e33629] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:44.854 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthAdvisorConfig' of type [class org.springframework.cloud.sleuth.annotation.SleuthAdvisorConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:44.874 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$127deff7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:45.024 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration' of type [class org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration$EnhancerBySpringCGLIB$44aa9638] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:45.134 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationGlobalProperties' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:45.174 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationGlobalProperties' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:45.334 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$2e97f2f4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:45.424 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.config.BindingServiceConfiguration$PostProcessorConfiguration' of type [class org.springframework.cloud.stream.config.BindingServiceConfiguration$PostProcessorConfiguration$$EnhancerBySpringCGLIB$$d4458dfc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:45.544 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignClientAutoConfiguration$OkHttpClientFeignBeanPostProcessorConfiguration' of type [class org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignClientAutoConfiguration$OkHttpClientFeignBeanPostProcessorConfiguration$$EnhancerBySpringCGLIB$$a2baa3ee] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:45.604 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignClientAutoConfiguration$FeignBeanPostProcessorConfiguration' of type [class org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignClientAutoConfiguration$FeignBeanPostProcessorConfiguration$$EnhancerBySpringCGLIB$$520fc8bd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:45.654 INFO [ace-dict,,,] 7392 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.instrument.async.AsyncDefaultAutoConfiguration' of type [class org.springframework.cloud.sleuth.instrument.async.AsyncDefaultAutoConfiguration$$EnhancerBySpringCGLIB$$fa619c16] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-05-08 18:07:46.718 INFO [ace-dict,,,] 7392 --- [ main] org.xnio : XNIO version 3.3.6.Final 2019-05-08 18:07:46.738 INFO [ace-dict,,,] 7392 --- [ main] org.xnio.nio : XNIO NIO Implementation Version 3.3.6.Final 2019-05-08 18:07:46.788 WARN [ace-dict,,,] 7392 --- [ main] io.undertow.websockets.jsr : UT026009: XNIO worker was not set on WebSocketDeploymentInfo, the default worker will be used 2019-05-08 18:07:46.788 WARN [ace-dict,,,] 7392 --- [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2019-05-08 18:07:46.828 INFO [ace-dict,,,] 7392 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2019-05-08 18:07:46.828 INFO [ace-dict,,,] 7392 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 7324 ms 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'traceFilter' to: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webStatFilter' to urls: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] 2019-05-08 18:07:50.541 INFO [ace-dict,,,] 7392 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'statViewServlet' to [/druid/*] 2019-05-08 18:07:54.301 INFO [ace-dict,,,] 7392 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@5c041f: startup date [Wed May 08 18:07:54 CST 2019]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@109e8cf 2019-05-08 18:07:54.341 INFO [ace-dict,,,] 7392 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring 2019-05-08 18:07:54.771 WARN [ace-dict,,,] 7392 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jolokiaEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.accessibleConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; 2019-05-08 18:07:54.771 WARN [ace-dict,,,] 7392 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceAuthUtil': Unsatisfied dependency expressed through field 'serviceAuthFeign'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.wxiaoqi.security.auth.client.feign.ServiceAuthFeign': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jolokiaEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.accessibleConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; 2019-05-08 18:07:54.791 INFO [ace-dict,,,] 7392 --- [ main] utoConfigurationReportLoggingInitializer : Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2019-05-08 18:07:54.831 ERROR [ace-dict,,,] 7392 --- [ main] o.s.boot.SpringApplication : Application startup failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceAuthUtil': Unsatisfied dependency expressed through field 'serviceAuthFeign'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.wxiaoqi.security.auth.client.feign.ServiceAuthFeign': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jolokiaEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.accessibleConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) ~[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) ~[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) ~[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE] at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134) [spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE] at com.github.wxiaoqi.security.dict.DictBootstrap.main(DictBootstrap.java:56) [classes/:na] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.wxiaoqi.security.auth.client.feign.ServiceAuthFeign': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jolokiaEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.accessibleConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1634) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1316) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1282) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1101) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] ... 18 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jolokiaEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.accessibleConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:667) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.context.event.AbstractApplicationEventMulticaster.retrieveApplicationListeners(AbstractApplicationEventMulticaster.java:228) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:185) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:388) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:877) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[spring-context-4.3.0.RELEASE.jar:4.3.0.RELEASE] at org.springframework.cloud.context.named.NamedContextFactory.createContext(NamedContextFactory.java:116) ~[spring-cloud-context-1.2.2.RELEASE.jar:1.2.2.RELEASE] at org.springframework.cloud.context.named.NamedContextFactory.getContext(NamedContextFactory.java:85) ~[spring-cloud-context-1.2.2.RELEASE.jar:1.2.2.RELEASE] at org.springframework.cloud.context.named.NamedContextFactory.getInstance(NamedContextFactory.java:121) ~[spring-cloud-context-1.2.2.RELEASE.jar:1.2.2.RELEASE] at org.springframework.cloud.sleuth.instrument.web.client.feign.TraceFeignContext.getInstance(TraceFeignContext.java:28) ~[spring-cloud-sleuth-core-1.2.1.RELEASE.jar:1.2.1.RELEASE] at org.springframework.cloud.netflix.feign.FeignClientFactoryBean.get(FeignClientFactoryBean.java:127) ~[spring-cloud-netflix-core-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.cloud.netflix.feign.FeignClientFactoryBean.feign(FeignClientFactoryBean.java:84) ~[spring-cloud-netflix-core-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.cloud.netflix.feign.FeignClientFactoryBean.getObject(FeignClientFactoryBean.java:155) ~[spring-cloud-netflix-core-1.3.2.RELEASE.jar:1.3.2.RELEASE] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] ... 28 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jolokiaEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.accessibleConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1316) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1282) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1180) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1096) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:659) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] ... 62 common frames omitted Caused by: java.lang.NoSuchMethodError: org.springframework.util.ReflectionUtils.accessibleConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; at org.springframework.web.servlet.mvc.ServletWrappingController.afterPropertiesSet(ServletWrappingController.java:151) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.boot.actuate.endpoint.mvc.JolokiaMvcEndpoint.afterPropertiesSet(JolokiaMvcEndpoint.java:61) ~[spring-boot-actuator-1.5.4.RELEASE.jar:1.5.4.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ~[spring-beans-4.3.9.RELEASE.jar:4.3.9.RELEASE] ... 75 common frames omitted Disconnected from the target VM, address: '127.0.0.1:53436', transport: 'socket' Process finished with exit code 1 ```
springboot和resteasy集成时 怎么用swagger看resteasy的接口
https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-RESTEasy-2.X-Project-Setup-1.5 按照这个写的 ,但好像仅仅初始化并没有启动起来 访问不到![图片说明](https://img-ask.csdn.net/upload/201704/21/1492765649_419318.png)
求解决swagger2的@ApiModelProperty如何设置类型为Timestamp字段才不会生成这样的字段。
1. 实体类字段类型是Timestamp,设置dataType=“java.lang.String”还是会生成源码的数据。 2. 实体类代码。 ```java @ApiModelProperty(value = "开始时间", name = "startTime", dataType="java.lang.String") private Timestamp startTime; ``` 3. swagger2生成的文档。 ![图片说明](https://img-ask.csdn.net/upload/201912/26/1577342030_793367.jpg) 4. 最后的解决方法是在配置代码加上.directModelSubstitute(Timestamp.class, Date.class);![图片说明](https://img-ask.csdn.net/upload/201912/31/1577755999_490396.png)
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私...
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
Linux(服务器编程):15---两种高效的事件处理模式(reactor模式、proactor模式)
前言 同步I/O模型通常用于实现Reactor模式 异步I/O模型则用于实现Proactor模式 最后我们会使用同步I/O方式模拟出Proactor模式 一、Reactor模式 Reactor模式特点 它要求主线程(I/O处理单元)只负责监听文件描述符上是否有事件发生,有的话就立即将时间通知工作线程(逻辑单元)。除此之外,主线程不做任何其他实质性的工作 读写数据,接受新的连接,以及处...
阿里面试官问我:如何设计秒杀系统?我的回答让他比起大拇指
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图和个人联系方式,欢迎Star和指教 前言 Redis在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在Redis的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸,打败了...
五年程序员记流水账式的自白。
不知觉已中码龄已突破五年,一路走来从起初铁憨憨到现在的十九线程序员,一路成长,虽然不能成为高工,但是也能挡下一面,从15年很火的android开始入坑,走过java、.Net、QT,目前仍处于android和.net交替开发中。 毕业到现在一共就职过两家公司,目前是第二家,公司算是半个创业公司,所以基本上都会身兼多职。比如不光要写代码,还要写软著、软著评测、线上线下客户对接需求收集...
C语言魔塔游戏
很早就很想写这个,今天终于写完了。 游戏截图: 编译环境: VS2017 游戏需要一些图片,如果有想要的或者对游戏有什么看法的可以加我的QQ 2985486630 讨论,如果暂时没有回应,可以在博客下方留言,到时候我会看到。 下面我来介绍一下游戏的主要功能和实现方式 首先是玩家的定义,使用结构体,这个名字是可以自己改变的 struct gamerole { char n...
一文详尽系列之模型评估指标
点击上方“Datawhale”,选择“星标”公众号第一时间获取价值内容在机器学习领域通常会根据实际的业务场景拟定相应的不同的业务指标,针对不同机器学习问题如回归、分类、排...
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观...
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外...
压测学习总结(1)——高并发性能指标:QPS、TPS、RT、吞吐量详解
一、QPS,每秒查询 QPS:Queries Per Second意思是“每秒查询率”,是一台服务器每秒能够相应的查询次数,是对一个特定的查询服务器在规定时间内所处理流量多少的衡量标准。互联网中,作为域名系统服务器的机器的性能经常用每秒查询率来衡量。 二、TPS,每秒事务 TPS:是TransactionsPerSecond的缩写,也就是事务数/秒。它是软件测试结果的测量单位。一个事务是指一...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip installselenium -ihttps://pypi.tuna.tsinghua.edu.cn/simple/ ...
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca...
2020年,冯唐49岁:我给20、30岁IT职场年轻人的建议
点击“技术领导力”关注∆每天早上8:30推送 作者|Mr.K 编辑| Emma 来源|技术领导力(ID:jishulingdaoli) 前天的推文《冯唐:职场人35岁以后,方法论比经验重要》,收到了不少读者的反馈,觉得挺受启发。其实,冯唐写了不少关于职场方面的文章,都挺不错的。可惜大家只记住了“春风十里不如你”、“如何避免成为油腻腻的中年人”等不那么正经的文章。 本文整理了冯...
程序员该看的几部电影
1、骇客帝国(1999) 概念:在线/离线,递归,循环,矩阵等 剧情简介: 不久的将来,网络黑客尼奥对这个看似正常的现实世界产生了怀疑。 他结识了黑客崔妮蒂,并见到了黑客组织的首领墨菲斯。 墨菲斯告诉他,现实世界其实是由一个名叫“母体”的计算机人工智能系统控制,人们就像他们饲养的动物,没有自由和思想,而尼奥就是能够拯救人类的救世主。 可是,救赎之路从来都不会一帆风顺,到底哪里才是真实的世界?如何...
Python绘图,圣诞树,花,爱心 | Turtle篇
每周每日,分享Python实战代码,入门资料,进阶资料,基础语法,爬虫,数据分析,web网站,机器学习,深度学习等等。 公众号回复【进群】沟通交流吧,QQ扫码进群学习吧 微信群 QQ群 1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle()...
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东...
还记得那个提速8倍的IDEA插件吗?VS Code版本也发布啦!!
去年,阿里云发布了本地 IDE 插件 Cloud Toolkit,仅 IntelliJ IDEA 一个平台,就有 15 万以上的开发者进行了下载,体验了一键部署带来的开发便利。时隔一年的今天,阿里云正式发布了 Visual Studio Code 版本,全面覆盖前端开发者,帮助前端实现一键打包部署,让开发提速 8 倍。 VSCode 版本的插件,目前能做到什么? 安装插件之后,开发者可以立即体验...
破14亿,Python分析我国存在哪些人口危机!
一、背景 二、爬取数据 三、数据分析 1、总人口 2、男女人口比例 3、人口城镇化 4、人口增长率 5、人口老化(抚养比) 6、各省人口 7、世界人口 四、遇到的问题 遇到的问题 1、数据分页,需要获取从1949-2018年数据,观察到有近20年参数:LAST20,由此推测获取近70年的参数可设置为:LAST70 2、2019年数据没有放上去,可以手动添加上去 3、将数据进行 行列转换 4、列名...
2019年除夕夜的有感而发
天气:小雨(加小雪) 温度:3摄氏度 空气:严重污染(399) 风向:北风 风力:微风 现在是除夕夜晚上十点钟,再有两个小时就要新的一年了; 首先要说的是我没患病,至少现在是没有患病;但是心情确像患了病一样沉重; 现在这个时刻应该大部分家庭都在看春晚吧,或许一家人团团圆圆的坐在一起,或许因为某些特殊原因而不能团圆;但不管是身在何处,身处什么境地,我都想对每一个人说一句:新年快乐! 不知道csdn这...
听说想当黑客的都玩过这个Monyer游戏(1~14攻略)
第零关 进入传送门开始第0关(游戏链接) 请点击链接进入第1关: 连接在左边→ ←连接在右边 看不到啊。。。。(只能看到一堆大佬做完的留名,也能看到菜鸡的我,在后面~~) 直接fn+f12吧 &lt;span&gt;连接在左边→&lt;/span&gt; &lt;a href="first.php"&gt;&lt;/a&gt; &lt;span&gt;←连接在右边&lt;/span&gt; o...
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ...... ...
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!...
2020年的1月,我辞掉了我的第一份工作
其实,这篇文章,我应该早点写的,毕竟现在已经2月份了。不过一些其它原因,或者是我的惰性、还有一些迷茫的念头,让自己迟迟没有试着写一点东西,记录下,或者说是总结下自己前3年的工作上的经历、学习的过程。 我自己知道的,在写自己的博客方面,我的文笔很一般,非技术类的文章不想去写;另外我又是一个还比较热衷于技术的人,而平常复杂一点的东西,如果想写文章写的清楚点,是需要足够...
别低估自己的直觉,也别高估自己的智商
所有群全部吵翻天,朋友圈全部沦陷,公众号疯狂转发。这两周没怎么发原创,只发新闻,可能有人注意到了。我不是懒,是文章写了却没发,因为大家的关注力始终在这次的疫情上面,发了也没人看。当然,我...
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。 再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。 下文是原回答,希望能对你能有所启发。 如果我说,这个世界上人真的分三六九等,...
节后首个工作日,企业们集体开晨会让钉钉挂了
By 超神经场景描述:昨天 2 月 3 日,是大部分城市号召远程工作的第一天,全国有接近 2 亿人在家开始远程办公,钉钉上也有超过 1000 万家企业活跃起来。关键词:十一出行 人脸...
Java基础知识点梳理
虽然已经在实际工作中经常与java打交道,但是一直没系统地对java这门语言进行梳理和总结,掌握的知识也比较零散。恰好利用这段时间重新认识下java,并对一些常见的语法和知识点做个总结与回顾,一方面为了加深印象,方便后面查阅,一方面为了掌握好Android打下基础。
2020年全新Java学习路线图,含配套视频,学完即为中级Java程序员!!
新的一年来临,突如其来的疫情打破了平静的生活! 在家的你是否很无聊,如果无聊就来学习吧! 世上只有一种投资只赚不赔,那就是学习!!! 传智播客于2020年升级了Java学习线路图,硬核升级,免费放送! 学完你就是中级程序员,能更快一步找到工作! 一、Java基础 JavaSE基础是Java中级程序员的起点,是帮助你从小白到懂得编程的必经之路。 在Java基础板块中有6个子模块的学...
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合...
相关热词 c# 识别回车 c#生成条形码ean13 c#子控制器调用父控制器 c# 写大文件 c# 浏览pdf c#获取桌面图标的句柄 c# list反射 c# 句柄 进程 c# 倒计时 线程 c# 窗体背景色
立即提问