qq_12304567
2018-05-13 14:34
采纳率: 50%
浏览 14.2k
已采纳

项目启动一直卡在这?

22:20:43.638 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : [/mapper-[\w-.]+jar]

22:20:43.640 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-starter/target/classes/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot/target/classes/, /spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/]

22:20:43.641 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/Users/libolin/Desktop/soft/STSWorkSpace/maven.1526215666467/healthcloud365_common/target/classes/, file:/Users/libolin/.m2/repository/tk/mybatis/mapper-spring-boot-starter/1.1.3/mapper-spring-boot-starter-1.1.3.jar, file:/Users/libolin/.m2/repository/tk/mybatis/mapper-spring-boot-autoconfigure/1.1.3/mapper-spring-boot-autoconfigure-1.1.3.jar, file:/Users/libolin/.m2/repository/tk/mybatis/mapper/3.4.2/mapper-3.4.2.jar, file:/Users/libolin/Desktop/soft/STSWorkSpace/maven.1526215666467/healthcloud365_coreplatform/target/classes/]

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

4条回答 默认 最新

  • qq_12304567 2018-05-14 09:05
    已采纳

    问题已解决,这是由于log输出级别的关系以及windows 与 mac 操作系统的关系,因为mac 操作系统需要设置目录权限777,不然项目不能够写入日志,同时mac系统的目录结构不同,使项目无法生成log文件

    点赞 打赏 评论
  • 且行路莫问蹇 2018-05-14 00:56

    Excluded patterns:去除模式,要在pom文件里面把路径移除掉。更深层的原因是有jar包重复,剩下的是把重复的jar包移除掉

    点赞 打赏 评论
  • qq_12304567 2018-05-14 03:04

    这个是正常启动,我的就是一直卡在这个地方,所有的包都是在maven导入出现,项目都是在git上下载

    11:02:28.617 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : [/mapper-[\w-.]+jar]
    11:02:28.626 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Excluded patterns for restart : [/spring-boot-starter/target/classes/, /spring-boot-autoconfigure/target/classes/, /spring-boot-starter-[\w-]+/, /spring-boot/target/classes/, /spring-boot-actuator/target/classes/, /spring-boot-devtools/target/classes/]
    11:02:28.629 [main] DEBUG org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs for reloading : [file:/D:/workspace/maven.1523263352637/healthcloud365_common/target/classes/, file:/C:/Users/Administrator/.m2/repository/tk/mybatis/mapper-spring-boot-starter/1.1.3/mapper-spring-boot-starter-1.1.3.jar, file:/C:/Users/Administrator/.m2/repository/tk/mybatis/mapper-spring-boot-autoconfigure/1.1.3/mapper-spring-boot-autoconfigure-1.1.3.jar, file:/C:/Users/Administrator/.m2/repository/tk/mybatis/mapper/3.4.2/mapper-3.4.2.jar, file:/D:/workspace/maven.1523263352637/healthcloud365_coreplatform/target/classes/]
    2018-05-14 11:02:31.318 INFO 7056 --- [ restartedMain] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7b0b8693: startup date [Mon May 14 11:02:31 CST 2018]; root of context hierarchy
    2018-05-14 11:02:32.374 INFO 7056 --- [ restartedMain] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

    2018-05-14 11:02:32.608 INFO 7056 --- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$34fa44b8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

                                                    healthcloud365
    

    Spring Boot (v1.5.7.RELEASE)
    2018-05-14 11:02:34.867 INFO 7056 --- [ restartedMain] c.h.c.Healthcloud365CommonApplication : The following profiles are active: dev
    2018-05-14 11:02:34.925 INFO 7056 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6ca96dbe: startup date [Mon May 14 11:02:34 CST 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7b0b8693

    点赞 打赏 评论
  • qq_38130250 2018-05-14 03:32

    Excluded patterns:去除模式,要在pom文件里面把路径移除掉。更深层的原因是有jar包重复,剩下的是把重复的jar包移除掉

    点赞 打赏 评论

相关推荐 更多相似问题