请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

新建完工程可以maven-install安装成功,启动springboot无法运行报错,能帮忙看下么

. ____ _ __ _ _
/\ / __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ |
| .__|| ||| |__, | / / / /
=|_|======|/=////
:: Spring Boot :: (v1.5.12.RELEASE)

2019-07-12 00:36:37,512 [main] [org.springframework.boot.StartupInfoLogger.logStarting(StartupInfoLogger.java:48)] - [INFO] Starting Application on LAPTOP-0LPI32BF with PID 3112 (E:\imoocspace\imooc-videos-dev\imooc-videos-dev-mimi-api\target\classes started by User in E:\imoocspace\imooc-videos-dev\imooc-videos-dev-mimi-api)
2019-07-12 00:36:37,515 [main] [org.springframework.boot.SpringApplication.logStartupProfileInfo(SpringApplication.java:593)] - [INFO] No active profile set, falling back to default profiles: default
2019-07-12 00:36:37,814 [main] [org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:583)] - [INFO] Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@276438c9: startup date [Fri Jul 12 00:36:37 CST 2019]; root of context hierarchy
2019-07-12 00:36:37,895 [background-preinit] [org.hibernate.validator.internal.util.Version.(Version.java:30)] - [INFO] HV000001: Hibernate Validator 5.3.6.Final
2019-07-12 00:36:38,561 [main] [org.mybatis.spring.mapper.ClassPathMapperScanner.doScan(ClassPathMapperScanner.java:166)] - [WARN] No MyBatis mapper was found in ‘[com.imooc]’ package. Please check your configuration.
2019-07-12 00:36:38,592 [main] [org.mybatis.spring.mapper.ClassPathMapperScanner.doScan(ClassPathMapperScanner.java:166)] - [WARN] No MyBatis mapper was found in ‘[com.imooc]’ package. Please check your configuration.
2019-07-12 00:36:38,635 [main] [org.springframework.data.repository.config.RepositoryConfigurationDelegate.multipleStoresDetected(RepositoryConfigurationDelegate.java:165)] - [INFO] Multiple Spring Data modules found, entering strict repository configuration mode!
2019-07-12 00:36:39,193 [main] [org.springframework.context.support.PostProcessorRegistrationDelegateBeanPostProcessorChecker.postProcessAfterInitialization(PostProcessorRegistrationDelegate.java:327)]−[INFO]Bean′org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration′oftype[org.springframework.transaction.annotation.ProxyTransactionManagementConfigurationBeanPostProcessorChecker.postProcessAfterInitialization(PostProcessorRegistrationDelegate.java:327)] - [INFO] Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfigurationBeanPostProcessorChecker.postProcessAfterInitialization(PostProcessorRegistrationDelegate.java:327)][INFO]Beanorg.springframework.transaction.annotation.ProxyTransactionManagementConfigurationoftype[org.springframework.transaction.annotation.ProxyTransactionManagementConfigurationEnhancerBySpringCGLIBEnhancerBySpringCGLIBEnhancerBySpringCGLIBKaTeX parse error: Expected 'EOF', got '七' at position 339: …): 8081 (http) 七̲月 12, 2019 12:3…MappingRegistry.register(AbstractHandlerMethodMapping.java:543)] - [INFO] Mapped “{[/error]}” onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-07-12 00:36:41,247 [main] [org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register(AbstractHandlerMethodMapping.java:543)] - [INFO] Mapped “{[/error],produces=[text/html]}” onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2019-07-12 00:36:41,307 [main] [org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:362)] - [INFO] Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-07-12 00:36:41,307 [main] [org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:362)] - [INFO] Mapped URL path [/
] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-07-12 00:36:41,382 [main] [org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:362)] - [INFO] Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-07-12 00:36:41,455 [main] [org.springframework.boot.autoconfigure.thymeleaf.AbstractTemplateResolverConfiguration.checkTemplateLocationExists(AbstractTemplateResolverConfiguration.java:60)] - [WARN] Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2019-07-12 00:36:42,951 [main] [org.springframework.jmx.export.MBeanExporter.afterSingletonsInstantiated(MBeanExporter.java:431)] - [INFO] Registering beans for JMX exposure on startup
2019-07-12 00:36:42,953 [main] [org.springframework.jmx.export.MBeanExporter.autodetect(MBeanExporter.java:918)] - [INFO] Bean with name ‘dataSource’ has been autodetected for JMX exposure
2019-07-12 00:36:42,959 [main] [org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:672)] - [INFO] Located MBean ‘dataSource’: registering with JMX server as MBean [com.alibaba.druid.pool:name=dataSource,type=DruidDataSource]
2019-07-12 00:36:43,008 [main] [org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:216)] - [INFO] Tomcat started on port(s): 8081 (http)
2019-07-12 00:36:43,013 [main] [org.springframework.boot.StartupInfoLogger.logStarted(StartupInfoLogger.java:57)] - [INFO] Started Application in 5.865 seconds (JVM running for 6.373)

正在回答 回答被采纳积分+3

1回答

风间影月 2019-07-12 08:26:11

先不要整合数据源和mybatis,试试

0 回复 有任何疑惑可以回复我~
  • 提问者 慕运维6439388 #1
    还是不行啊老师,按照视频来的啊!
    回复 有任何疑惑可以回复我~ 2019-07-12 09:59:27
  • 风间影月 回复 提问者 慕运维6439388 #2
    你的报错是说整合出错,你在不在群里?要不群里说。你是不是之前没有接触过mybatis?
    回复 有任何疑惑可以回复我~ 2019-07-12 10:00:32
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信